ART: Fix mac build

is_main_thread is unused in the case of a mac.

Change-Id: Ib0658b622f261e09dbe1c7592fa802a484ba7f94
diff --git a/runtime/thread.cc b/runtime/thread.cc
index 7aabfce..f06d081 100644
--- a/runtime/thread.cc
+++ b/runtime/thread.cc
@@ -505,9 +505,7 @@
   }
 
   // TODO: move this into the Linux GetThreadStack implementation.
-#if defined(__APPLE__)
-  bool is_main_thread = false;
-#else
+#if !defined(__APPLE__)
   // If we're the main thread, check whether we were run with an unlimited stack. In that case,
   // glibc will have reported a 2GB stack for our 32-bit process, and our stack overflow detection
   // will be broken because we'll die long before we get close to 2GB.