Fix isObject when in 64bit mode.

This also cleans up the passing of args to SetObject and ClearObject.
Fix related issues in 64bit teardown.

Change-Id: I90d1b93c45ff5bc84957d5441ab48a4e2f6feb20
diff --git a/rsRuntime.h b/rsRuntime.h
index f00f724..2c53eb5 100644
--- a/rsRuntime.h
+++ b/rsRuntime.h
@@ -139,9 +139,9 @@
 //
 //////////////////////////////////////////////////////////////////////////////
 
-void rsrSetObject(const Context *, void *dst, ObjectBase * src);
-void rsrClearObject(const Context *, void *dst);
-bool rsrIsObject(const Context *, const ObjectBase *src);
+void rsrSetObject(const Context *, rs_object_base *dst, const ObjectBase *src);
+void rsrClearObject(const Context *, rs_object_base *dst);
+bool rsrIsObject(const Context *, rs_object_base src);
 
 void rsrAllocationIncRefs(const Context *, const Allocation *, void *ptr,
                           size_t elementCount, size_t startOffset);