Disable checks for b/27493510

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

Bug: 27493510

(cherry picked from commit 8790c7f9f7d684bff40d5731b2d8e3462ef8ed90)

Change-Id: I049d4319bca1114bd11a35bb13fc9d80c993260c
diff --git a/runtime/class_linker.cc b/runtime/class_linker.cc
index ba935f7..89e8ff2 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)))