Fix compile warning with mono-video disabled

The variable 'num_planes' is only used when mono-video is enabled,
so move it inside a #if CONFIG_MONO_VIDEO block

Change-Id: I415f764b2629478edde579142b7242851991b1c0
diff --git a/av1/decoder/decodeframe.c b/av1/decoder/decodeframe.c
index 5066de1..9933049 100644
--- a/av1/decoder/decodeframe.c
+++ b/av1/decoder/decodeframe.c
@@ -3444,7 +3444,6 @@
                                     const uint8_t **p_data_end, int startTile,
                                     int endTile, int initialize_flag) {
   AV1_COMMON *const cm = &pbi->common;
-  const int num_planes = av1_num_planes(cm);
   MACROBLOCKD *const xd = &pbi->mb;
 
   if (initialize_flag) setup_frame_info(pbi);
@@ -3452,6 +3451,7 @@
   *p_data_end = decode_tiles(pbi, data, data_end, startTile, endTile);
 
 #if CONFIG_MONO_VIDEO
+  const int num_planes = av1_num_planes(cm);
   // If the bit stream is monochrome, set the U and V buffers to a constant.
   if (num_planes < 3) {
     const int bytes_per_sample = cm->use_highbitdepth ? 2 : 1;