fixed warnings in OpenCL kernels