[SCSI] sg: fix bio leak with a detached device