Fix minor warning in test_kernel when compiled for OpenCL 1.0