OCL: Fix problems in LUT ocl kernel

DON'T MERGE. For test only.
check_regression=*OCL*LUT* 
test_filter=*OCL*Lut*
test_modules=core
build_examples=OFF