Add pointer arithmetic helper function.
Add pointer arithmetic helper function.

Change-Id: I735295c715564093db6d6e6aaaeb05914e0e826e

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