Move Unsafe offset code to Java.
Move Unsafe offset code to Java.

Change-Id: I29c3cafaa7adceded6b1e934df63c80b5e0efa87

treadstoneproject/artinst,treadstoneproject/artinst,treadstoneproject/artinst,treadstoneproject/artinst,treadstoneproject/artinst