Changed cl_fill_buffer to be compatible with OpenCL < 1.2