Fix ProfileCompilationInfo::UpdateProfileKeys().

Correctly migrate the annotation.

Also do some cleanup. Use `std::unique_ptr<>` for `info_`.
Change the `profile_key_map_` key to `std::string_view`,
using the `DexFileData::profile_key` as backing storage.
Move `ProfileSource` definition to the .cc file. Change the
`ProfileLoadStatus` to an `enum class` and remove unused
"WouldOverwriteData". Fix an error message.

Test: ProfileCompilationInfoTest.UpdateProfileKeyOkWithAnnotation
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing --speed-profile
Bug: 148067697
Change-Id: I4e157c76b52e9c9c15f3ba34816f6b606ac4529c
3 files changed