opencl backend: avoid uninitialized cl_mem objects