Fix native memory leak in Uint64ArrayRW

Bug: 377547685
Test: adb shell dumpsys batterystats --usage; adb shell dumpsys -t 60 meminfo --unreachable `adb shell pidof system_server` | grep "unreachable allocations"
Flag: EXEMPT bugfix
Change-Id: I2287379427a8de732eda866dfcc3d4129dfb890d
1 file changed