CTS: Add a JVMTI allocation tracking test

Copy ART run-test for basic tracking functionality to CTS. Change
implementation to compare in code instead of text output.

(cherry picked from commit 8475b2159c6b654f7fd3738e44e4988d7a33d0aa)

Bug: 32072923
Test: m cts
Test: cts-tradefed run cts-dev --module CtsJvmtiTrackingHostTestCases
Change-Id: If4bd7f563ae93793697ba0abbaa01c31cf47aca2
10 files changed