opencl backend: do not declare or allocate arrays that are not accessed