fix profile handling in XYZ2scRGB

see

https://github.com/lovell/sharp/issues/125