Make the GpuKernelBase C code PY3 compatible.