Fix for aq-mode=3 related bugs

The initialization function for aq-mode 3 has not been called
for VBR path.

BUG=aomedia:1262

Change-Id: Ib069a46e36e7909d8374772761613552ebd5e4e5
diff --git a/av1/encoder/ratectrl.c b/av1/encoder/ratectrl.c
index 622c235..523ffa1 100644
--- a/av1/encoder/ratectrl.c
+++ b/av1/encoder/ratectrl.c
@@ -1367,6 +1367,10 @@
     rc->source_alt_ref_pending = USE_ALTREF_FOR_ONE_PASS;
     rc->gfu_boost = DEFAULT_GF_BOOST;
   }
+
+  if (cpi->oxcf.aq_mode == CYCLIC_REFRESH_AQ)
+    av1_cyclic_refresh_update_parameters(cpi);
+
   if (cm->frame_type == KEY_FRAME)
     target = calc_iframe_target_size_one_pass_vbr(cpi);
   else