[3.8] Fix ICC profiles management