fix standalone xcode build
RGBLut: optimize... a bit

a single-dimension table depending on a template parameter should be OK