[PATCH 4.9 149/241] scsi: sg: check for valid direction before starting the request