Fix compiler errors when tempal signaling is on

Change-Id: I6d3cdcc3ee39e82edb201833da20b7412cc29038
diff --git a/av1/decoder/decoder.h b/av1/decoder/decoder.h
index 4a90b4a..139fde1 100644
--- a/av1/decoder/decoder.h
+++ b/av1/decoder/decoder.h
@@ -203,7 +203,7 @@
   }
 }
 
-#if CONFIG_EXT_REFS
+#if CONFIG_EXT_REFS || CONFIG_TEMPMV_SIGNALING
 static INLINE int dec_is_ref_frame_buf(AV1Decoder *const pbi,
                                        RefCntBuffer *frame_buf) {
   AV1_COMMON *const cm = &pbi->common;
diff --git a/av1/encoder/encoder.h b/av1/encoder/encoder.h
index 8c82197..5d8a64e 100644
--- a/av1/encoder/encoder.h
+++ b/av1/encoder/encoder.h
@@ -768,7 +768,7 @@
   return &cpi->upsampled_ref_bufs[buf_idx].buf;
 }
 
-#if CONFIG_EXT_REFS
+#if CONFIG_EXT_REFS || CONFIG_TEMPMV_SIGNALING
 static INLINE int enc_is_ref_frame_buf(AV1_COMP *cpi, RefCntBuffer *frame_buf) {
   MV_REFERENCE_FRAME ref_frame;
   AV1_COMMON *const cm = &cpi->common;