[Java]: Fix double offset bug on Unsafe.putBytes(int, ByteBuffer, int, int) as raised in issue #3.