allow CPointer math for jvm backend

The memory address of a CPointer can now be read and set.