Fix has_top_right() logic

If a coding block is in the top row of a 64x64 (or 128x128) block,
its top-right corner should be available. No major coding performance
change is observed.

Change-Id: I0ee23db313cd53b34b7bc28230705f1cb1f8fe89
diff --git a/av1/common/mvref_common.c b/av1/common/mvref_common.c
index f9402e9..fa5b01b 100644
--- a/av1/common/mvref_common.c
+++ b/av1/common/mvref_common.c
@@ -258,6 +258,8 @@
   // bs > 0 and bs is a power of 2
   assert(bs > 0 && !(bs & (bs - 1)));
 
+  if ((mi_row & MAX_MIB_MASK) == 0) return has_tr;
+
   // For each 4x4 group of blocks, when the bottom right is decoded the blocks
   // to the right have not been decoded therefore the bottom right does
   // not have a top right