libcolord: Add cd_it8_utils_calculate_gamma()

This allows us to detect and use a gray gamma ramp in .ti3 files.
Add cd_it8_get_xyz_for_rgb()