Refactor codegen resource masks

Another step towards a single compiler: unified the bulk of the
target-specific instruction resource use/def maps.  This will
allow more shared code usage, and eliminates target-specific
defines used by otherwise common code.

Change-Id: I4132cb4d31647517a654ffdf6c87843b84af132b
diff --git a/src/compiler/codegen/x86/Assemble.cc b/src/compiler/codegen/x86/Assemble.cc
index c47711c..71fcdc8 100644
--- a/src/compiler/codegen/x86/Assemble.cc
+++ b/src/compiler/codegen/x86/Assemble.cc
@@ -352,7 +352,7 @@
   }
   if (displacement != 0) {
     if (entry->opcode != kX86Lea32RA) {
-      DCHECK_NE(entry->flags & (IS_LOAD | IS_STORE), 0) << entry->name;
+      DCHECK_NE(entry->flags & (IS_LOAD | IS_STORE), 0ULL) << entry->name;
     }
     size += IS_SIMM8(displacement) ? 1 : 4;
   }