Fixed java.nio.Buffer.position method being called as void.

This led to a crash on dalvik vm.
Merge pull request #319 from GreatFruitOmsk/master

Fixed java.nio.Buffer.position method being called as void.