Minor fixes.

Fix a crash when shutting down if a daemon thread suspended while holding the
heap lock. For some reason, presumably involving extra daemon threads, CTS hits
this a lot.

Silently ignore a couple of dalvikvm options for backwards compatibility. This
makes CTS less noisy.

Remove redundant parentheses that would make it easy for us to introduce a ==/=
bug.

Change-Id: Id44eab29ce393a85585459c280ad47c5a5c749b9
diff --git a/src/runtime.cc b/src/runtime.cc
index 4d95b4b..e9d5677 100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -386,6 +386,8 @@
       parsed->hook_abort_ = reinterpret_cast<void(*)()>(options[i].second);
     } else if (option == "host-prefix") {
       parsed->host_prefix_ = reinterpret_cast<const char*>(options[i].second);
+    } else if (option == "-Xgenregmap" || option == "-Xgc:precise") {
+      // We silently ignore these for backwards compatibility.
     } else {
       if (!ignore_unrecognized) {
         // TODO: print usage via vfprintf