Fix "performance-for-range-copy" error.

Not sure why this only shows up with -std=c++17, but it's clearly
correct:

  art/tools/hiddenapi/hiddenapi.cc:1063:45: error: the loop variable's type is not a reference type; this creates a copy in each iteration; consider making this a reference [performance-for-range-copy,-warnings-as-errors]

Bug: http://b/111067277
Test: builds
Change-Id: I3796d275b142db3de40e7a855a8130ecea6212ae
diff --git a/tools/hiddenapi/hiddenapi.cc b/tools/hiddenapi/hiddenapi.cc
index 7f4c546..7c93a8b 100644
--- a/tools/hiddenapi/hiddenapi.cc
+++ b/tools/hiddenapi/hiddenapi.cc
@@ -1060,7 +1060,7 @@
     // Write into public/private API files.
     std::ofstream file_public(out_public_path_.c_str());
     std::ofstream file_private(out_private_path_.c_str());
-    for (const std::pair<std::string, bool> entry : boot_members) {
+    for (const std::pair<const std::string, bool>& entry : boot_members) {
       if (entry.second) {
         file_public << entry.first << std::endl;
       } else {