backends/drm: support CTM for simple color transformations
In order to work around hardware and drivers that aren't capable of applying a LUT, calculate a per-channel factor for brightness and color temperature modification. While this ignores color calibration, this makes night color work until a proper shader based color pipeline is implemented.
BUG: 455720 (cherry picked from commit f2417a85)