[SCSI] scsi_debug: add get_data_transfer_info helper function