Camera: Fix request metadata override for repeating request

- For repeating request, same metadata structure is used for multiple
requests sent to camera HAL. And now that the camera framework overrides
ZOOM_RATIO value, we cannot reliably derive whether the application sets
ZOOM_RATIO or not by repeatedly querying its value.

- For DistortionCorrection, zoomRatio, and rotateAndCrop, avoid
duplicating capture request update for repeating request.

Test: GoogleCamera zoomed still capture, Camera CTS
Bug: 164960160
Change-Id: Ib4fdf5056c286a5bd02cd334eb1ca8644598d676
(cherry picked from commit d1d051a0029fb998c5ced7dabfde1c963b330784)
2 files changed