[PATCH 4.9 75/92] scsi: ufs: fix bugs related to null pointer access and array size