Fixes for comparisons between signed and unsigned values with new jb-mr2 compiler

Change-Id: Ibfcf8dca0b36b29548231c829be3c160c1c6d747
diff --git a/src/gc/mark_sweep.cc b/src/gc/mark_sweep.cc
index 6fcaf83..055a7e7 100644
--- a/src/gc/mark_sweep.cc
+++ b/src/gc/mark_sweep.cc
@@ -1224,7 +1224,7 @@
 
   // Scans all of the objects
   virtual void Run(Thread* self) {
-    int index;
+    size_t index;
     while ((index = index_++) < length_) {
       if (kUseMarkStackPrefetch) {
         static const size_t prefetch_look_ahead = 1;