Move cpp-define related static_assert to runtime.

The runtime is build with both debug and non-debug configs,
so checking it there covers more cases.

Test: Check this caches cases which previously passed.
Change-Id: I543547e517b79289438b19ed9e18f5a6d0b74172
diff --git a/runtime/runtime.cc b/runtime/runtime.cc
index b3a2bdd..4d77b9d 100644
--- a/runtime/runtime.cc
+++ b/runtime/runtime.cc
@@ -165,6 +165,11 @@
 #include <android/set_abort_message.h>
 #endif
 
+// Static asserts to check the values of generated assembly-support macros.
+#define ASM_DEFINE(NAME, EXPR) static_assert((NAME) == (EXPR), "Unexpected value of " #NAME);
+#include "asm_defines.def"
+#undef ASM_DEFINE
+
 namespace art {
 
 // If a signal isn't handled properly, enable a handler that attempts to dump the Java stack.