[Base] Fixed kernelArg issue where non-const occaMemory could only be passed