ART: Fix Mac build

Follow-up to 9821cceebf077cb747aed543582b3d740a03ea7f.

Bug: 28801010

(cherry picked from commit 17fc4bda7987654709dcc24ea5a7bd6a859e0966)

Change-Id: I0bbdf83d64ea81e56824aa19bfae3baa341a2b73
diff --git a/runtime/oat_file.cc b/runtime/oat_file.cc
index cd11d41..c33a9cd 100644
--- a/runtime/oat_file.cc
+++ b/runtime/oat_file.cc
@@ -572,6 +572,7 @@
 
 void DlOpenOatFile::PreLoad() {
 #ifdef __APPLE__
+  UNUSED(shared_objects_before_);
   LOG(FATAL) << "Should not reach here.";
   UNREACHABLE();
 #else