[PATCH 6.16 001/143] scsi: ufs: mcq: Fix memory allocation checks for SQE and CQE