OCL: Fix error in OCL minmaxloc

Fix error in ocl version of minmaxloc.

check_regression=*OCL*MinMax*
test_filter=*OCL*MinMax*
build_examples=OFF
test_modules=core