Improve sf prune_inter_modes_based_on_tpl

The speed feature 'prune_inter_modes_based_on_tpl'
is modified to not prune any modes when left or above
neighbor block to the current block is unavailable.

STATS_CHANGED

Change-Id: I902e8146d195eb8cb605037c47f50b465a2286c7
diff --git a/av1/encoder/rdopt.c b/av1/encoder/rdopt.c
index 416128d..3f70dae 100644
--- a/av1/encoder/rdopt.c
+++ b/av1/encoder/rdopt.c
@@ -2079,7 +2079,7 @@
 
 static AOM_INLINE int find_ref_match_in_above_nbs(const int total_mi_cols,
                                                   MACROBLOCKD *xd) {
-  if (!xd->up_available) return 0;
+  if (!xd->up_available) return 1;
   const int mi_col = xd->mi_col;
   MB_MODE_INFO **cur_mbmi = xd->mi;
   // prev_row_mi points into the mi array, starting at the beginning of the
@@ -2101,7 +2101,7 @@
 
 static AOM_INLINE int find_ref_match_in_left_nbs(const int total_mi_rows,
                                                  MACROBLOCKD *xd) {
-  if (!xd->left_available) return 0;
+  if (!xd->left_available) return 1;
   const int mi_row = xd->mi_row;
   MB_MODE_INFO **cur_mbmi = xd->mi;
   // prev_col_mi points into the mi array, starting at the top of the