Reduce string allocations in ProfileCompilationInfo.

Use std::string_view internally to avoid std::string
allocations but keep external ProfileCompilationInfo API
unchanged with std::string to avoid object lifetime issues,
with the exception of `OfflineProfileMethodInfo` provided
to the compiler for AOT compilation.

Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Test: boots.
Bug: 181943478
Change-Id: If75c3ce16581760773bdaa3e94334c9c567745de
3 files changed