Finish off the new JNI implementation.

There are a handful of remaining TODOs, but this gives us complete coverage.

Change-Id: Ibee38e6a87a0fcfae769d991125b0551243c8eeb
diff --git a/src/indirect_reference_table.cc b/src/indirect_reference_table.cc
index 2ea2434..76d5379 100644
--- a/src/indirect_reference_table.cc
+++ b/src/indirect_reference_table.cc
@@ -318,7 +318,7 @@
 
 void IndirectReferenceTable::Dump() const {
   LOG(WARNING) << kind_ << " table dump:";
-  std::vector<Object*> entries(table_, table_ + Capacity());
+  std::vector<const Object*> entries(table_, table_ + Capacity());
   ReferenceTable::Dump(entries);
 }