[PATCH 5.15.y] scsi: core: Fix scsi_mode_select() buffer length handling