[PATCH for-4.4.y 05/10] scsi: ufs: fix bugs related to null pointer access and array size