scsi: fix device handler detach oops