Fix bug #9874 where MRWs showed in purple
As it turns out the 270cw rotation was wrong. Made the code more explicit as to what it is doing with the three flip bits.
Poison specific functions
Change some header inclusion order
Disable poisoning for Release build
Poison only .git builds
Do not compare array against 0
Coverity CID 1111070, CID 1034348, CID 1034347, CID 1034345
Workaround fix for issue #9880
basecurve tool: stand clearly we suppose the JPEG file is sRGB
basecurve tool: add tentative tonecurve support, still incomplete
basecurve tool: allow easy compilation of optimized binary
basecurve tool: make some functions static, move usage to own function
basecurve tool: single exit point in main to avoid leaks in error paths
basecurve tool: add license header
basecurve tool: add gnuplot script for tonecurve
basecurve tool: make it easier to add tonecurve presets
basecurve tool: print sqlite command for inserting the preset
basecurve tool: output a valid script on stdout
basecurve tool: cleanup hexify
basecurve tool: move BE detection to own function
basecurve tool: explicit the modules' param version