OCL: fix ocl_lut

found with test_loop_times = 30

check_regression=OCL*LUT*
test_filter=OCL*LUT*
test_modules=core
build_examples=OFF