[NORMATIVE] Account all the newmv modes for compound mode context

The compound mode context model depends on the number of 8x8
blocks coded in the newmv mode under opt-ref-mv. This commit makes
the codec account for all the newmv modes in both single and
compound settings for that purpose. It only affects changes under
opt-ref-mv.

It improves the midres coding performance by 0.08%.

BUG=aomedia:1358

Change-Id: I0899cbb31e0001d958677128bcc94b063b449817
diff --git a/av1/common/mvref_common.c b/av1/common/mvref_common.c
index 3eb146c..c4ed3c2 100644
--- a/av1/common/mvref_common.c
+++ b/av1/common/mvref_common.c
@@ -150,7 +150,7 @@
 #endif
         }
 #if CONFIG_OPT_REF_MV
-        if (candidate->mode == NEWMV) ++newmv_count;
+        if (have_newmv_in_inter_mode(candidate->mode)) ++newmv_count;
         ++*ref_match_count;
 #endif
       }
@@ -203,7 +203,7 @@
 #endif
       }
 #if CONFIG_OPT_REF_MV
-      if (candidate->mode == NEW_NEWMV) ++newmv_count;
+      if (have_newmv_in_inter_mode(candidate->mode)) ++newmv_count;
       ++*ref_match_count;
 #endif
     }