opencl: remove unused code in kernel