Avoid casting GPUArray.gpudata to python int.