OpenCL: Another attempt to work around the problems with older SDKs on CPUs.

Reset local work size to 1 as CPU default.
Moved a barrier outside an if-conditional in order to simplify the job for the compiler.