Camera: Track native metadata allocations

Native camera metadata buffers can increase both in size
and count over prolonged periods of camera usage.
Register and track the native buffer allocation in the Java
VM to improve GC.

Bug: 168100424
Test: Camera CTS
Change-Id: I7a10c2f360307a6c1afeecde24dc42184106b872
2 files changed