lcms: Port from lcms to lcms2