hwc2: Cache color mode and render intent for Primary display

Cache the color mode and render intent for Primary display, so that
the current color mode and intent can be applied in Validate phase.

CRs-Fixed: 2307970
Change-Id: I2944d1b20d5dd9b127a22559b20cfcd56bf2c1ad
3 files changed