[PATCH for-3.18.y 2/5] scsi: ufs: fix bugs related to null pointer access and array size