OpenCL: fix reductions on CPU.

- do not assume that the last 32 threads run in lock-step