RE: [i-g-t 12/14] kms_color_helper: Add helper functions to support logarithmic gamma mode