Fixed bug in reduce.cl

test_modules=core
build_examples=OFF