[stable-4.14 05/23] scsi: allow passing in null rq to scsi_prep_state_check()