Fix ConstantsAreInSync to compare strings not addresses

This appears to happened to have worked in normal builds, because the
compiler deduplicated. It failed for hwasan builds where it was not
deduplicated.

Bug: 269682263
Ignore-AOSP-First: ART Services.
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:8d85e5cc88e39c56cf5d5aaff65f886f5414b4fd)
Merged-In: I646ca0538345d9ead7c2580f98213927aa0456a4
Change-Id: I646ca0538345d9ead7c2580f98213927aa0456a4
1 file changed