Add delegates to fix native buffer access

The Android platform has a customized java.nio.Buffer and uses this
customization in native code through JNI. This reproduces the same
behaviour using delegates that can also be accessed through JNI.

Bug: N/A
Test: BitmapTest added
Change-Id: I1d769615b08ce6e993fc60e10e6dcca29db2446e
4 files changed