Fix invalid localWorkSize and globalWorkOffset

Empty array [] is not acceptable as localWorkSize or globalWorkOffset in enqueueNDRangeKernel, replacing them with null.