ofxsLut: add function to convert to 8-bit grayscale