OpenCL: Fixed problems in vector operations.

Introduced by commit 79c21e63260ee455ba1d9665e96609ff19078773
because of a not careful enough fixing of warnings.