SIRT work around JNI support for legacy apps

Legacy apps may be broken and expect a jobject to equal an Object*. This
is a work around to support outgoing SIRT arguments being converted to
be Object*s. It steals the unused GC map pointer on native methods.

Change-Id: I8fb3701b0cdf15be9e8f9b722e47386505482666
diff --git a/src/object.h b/src/object.h
index f9c8eb7..da8064f 100644
--- a/src/object.h
+++ b/src/object.h
@@ -762,7 +762,7 @@
 
   bool IsRegistered() const;
 
-  void RegisterNative(const void* native_method);
+  void RegisterNative(Thread* self, const void* native_method);
 
   void UnregisterNative();