[Lut shader] Fix gamma correction

to avoid color conversion, we de-gamma the image without changing the
primaries, after lut(s) shader being applied, we need to re-gamma it
back.

Bug: 329472856
Test: luts cts cases
Flag: android.hardware.flags.luts_api
Change-Id: I8c8a3b6d445d11efab4115c097d7eeb91d1be384
3 files changed