opencl: fix efficacy bug in globaltonemap
opencl: fix for reduction code in module globaltonemap