Disable checks for b/27493510

Disabled for performance now that the bug is fixed. Still enabled
for debug builds.

Bug: 27493510
Change-Id: I4838b63d79163b97b47e13b201349a72c352ff38
diff --git a/runtime/class_linker.cc b/runtime/class_linker.cc
index 9b5f865..876eecd 100644
--- a/runtime/class_linker.cc
+++ b/runtime/class_linker.cc
@@ -96,7 +96,7 @@
 namespace art {
 
 static constexpr bool kSanityCheckObjects = kIsDebugBuild;
-static constexpr bool kVerifyArtMethodDeclaringClasses = true;
+static constexpr bool kVerifyArtMethodDeclaringClasses = kIsDebugBuild;
 
 static void ThrowNoClassDefFoundError(const char* fmt, ...)
     __attribute__((__format__(__printf__, 1, 2)))