opencl: fix logic to open kernel files