A bit further along the track of multiple threads.

This also makes valgrind happy, and tsan mostly happy. (The heap, it turns out,
doesn't have a lock yet.)

The DexVerifier changes are just to make valgrind happy, and the code a little
less unidiomatic.

Change-Id: Ic5d436b4863b9d7088eb0b8fe9d32308919899d8
diff --git a/src/runtime.h b/src/runtime.h
index db86a96..96513e6 100644
--- a/src/runtime.h
+++ b/src/runtime.h
@@ -85,7 +85,7 @@
   static void Abort(const char* file, int line);
 
   // Attaches the current native thread to the runtime.
-  void AttachCurrentThread(const char* name, JNIEnv** jni_env, bool as_daemon);
+  void AttachCurrentThread(const char* name, bool as_daemon);
 
   void CallExitHook(jint status);