Camera: DistortionMapper: Fix to work consistently

- Ensure the conversions between pre-correction and active array coordinates
  are applied consistenly
- Only some regions were being clamped to ensure they were within the
  destination region. Add more clamping, though some outputs still
  need to not be clamped, such as face rectangles which may extend outside
  the FOV.
- Add simple transform mode since the full transform cannot safely be used
  to meet all consistency requirements in Android P

Also update the unit tests to try to check for this corner case and the
simple mode.

Test: adb shell /data/nativetest/cameraservice_tests/cameraservice_test \
    --gtest_filter=*Distortion*
Bug: 109766306
Change-Id: Id6f23794d60d5ed9e04b155426741a504487e3d6
Merged-In: Id6f23794d60d5ed9e04b155426741a504487e3d6
(cherry-picked from ee080fed199e60df07c0fcef970182ba09bf4367)
(cherry picked from commit dccebf80ea7e90eedeb914becafc47ca725eb27f)
3 files changed