Fix lab colorspace decoding and rgb conversion.
Merge pull request #3038 from brendandahl/lab-cs

Fix lab colorspace decoding and rgb conversion.