Fix debugmodes file

Fixed debugmodes.c to incorporate the mi size change in CB4X4.

Change-Id: Id4d44866636a1a0715e03a7a4c9884c51ca7f59d
diff --git a/av1/common/debugmodes.c b/av1/common/debugmodes.c
index d7b31c1..91f33d4 100644
--- a/av1/common/debugmodes.c
+++ b/av1/common/debugmodes.c
@@ -12,6 +12,7 @@
 #include <stdio.h>
 
 #include "av1/common/blockd.h"
+#include "av1/common/enums.h"
 #include "av1/common/onyxc_int.h"
 
 static void log_frame_info(AV1_COMMON *cm, const char *str, FILE *f) {
@@ -35,11 +36,12 @@
   for (mi_row = 0; mi_row < rows; mi_row++) {
     fprintf(file, "%c ", prefix);
     for (mi_col = 0; mi_col < cols; mi_col++) {
-      fprintf(file, "%2d ", *((int *)((char *)(&mi[0]->mbmi) + member_offset)));
+      fprintf(file, "%2d ",
+              *((char *)((char *)(&mi[0]->mbmi) + member_offset)));
       mi++;
     }
     fprintf(file, "\n");
-    mi += 8;
+    mi += MAX_MIB_SIZE;
   }
   fprintf(file, "\n");
 }
@@ -67,7 +69,7 @@
       mi++;
     }
     fprintf(mvs, "\n");
-    mi += 8;
+    mi += MAX_MIB_SIZE;
   }
   fprintf(mvs, "\n");
 
@@ -82,7 +84,7 @@
       mi++;
     }
     fprintf(mvs, "\n");
-    mi += 8;
+    mi += MAX_MIB_SIZE;
   }
   fprintf(mvs, "\n");