core/colorspace: fix support for the XYZ color space
Using xyY values to specify the primaries for XYZ doesn't quite work out, so this commit changes Colorimetry to use (normalized) XYZ values for the primaries and adds a test that verifies XYZ->XYZ transformations to be identity