OCL: fixed warnings in ocl kernels on Mac