[PATCH 4.14 153/167] scsi: core: check for device state in __scsi_remove_target()