Add metrics support for the new boot-after-mainline-update compilation
reason.

Cherry-picked from internal.

Test: atest art_standalone_libartbase_tests
Bug: 265685704
Change-Id: I7af57011cdeba584c35941362565a16531553e8a
Merged-In: I7af57011cdeba584c35941362565a16531553e8a
4 files changed