Camera: HAL: Reset the offset field in case MDP upscaling fails.

If the MDP upscaling fails for some reason, then we should update
the offset field otherwise, we will see green frame(NULL data)
on the screen.

Change-Id: I12ef2d1ea012215d25be906a0833e736f7af4f22
CRs-Fixed: 231900
diff --git a/QualcommCameraHardware.cpp b/QualcommCameraHardware.cpp
index a7a8126..e3292fc 100644
--- a/QualcommCameraHardware.cpp
+++ b/QualcommCameraHardware.cpp
@@ -3135,6 +3135,7 @@
 	    if( !native_zoom_image(mPreviewHeap->mHeap->getHeapID(),
 			offset_addr, dstOffset_addr, crop)) {
 		LOGE(" Error while doing MDP zoom ");
+                offset = offset_addr / mPreviewHeap->mAlignedBufferSize;
 	    }
 	}
     }