Optimize LittleCMS pipeline
The major changes in this series:
- drop inverse curves in sequence (to avoid ending up with a sampled curve; more details are on the commit messages).
- merge parametric power law functions (also to avoid ending up with sampled curves if possible).
It also adds a couple of tests to exercise such optimizations.