sg: disable interrupts inside sg_copy_buffer