etnaviv: solve compiler warnings on imx6 BSP 4.0

Consistently use 64 bit values for handles passed from kernel.
Cast these, and any normal pointers with macros when going from/through
the kernel based on the GC ABI.