Fix zooming in preview

Port of:
https://github.com/Dorregaray/camerahal/commit/6ba7ef41c386aa16dbac9aab1922dc3bbbd99eba