colord: Return the end values when using cd_spectrum_get_value_for_nm() out of range

Additionally, return unity when the spectrum has no elements.
colord: Add illuminant and resolution parameters to cd_it8_utils_calculate_xyz_from_cmf()