Fix compile error when PVQ is enabled

Compile error was caused by one of previous commits, 7c2b7f2534.

Change-Id: I51885cb03190ab736e4bcbae13bce40857da83b6
diff --git a/av1/encoder/rdopt.c b/av1/encoder/rdopt.c
index f39034d..d85d3ea 100644
--- a/av1/encoder/rdopt.c
+++ b/av1/encoder/rdopt.c
@@ -1775,9 +1775,11 @@
   if (mbmi->tx_size >= TX_32X32) assert(mbmi->tx_type == DCT_DCT);
 #endif
 #if CONFIG_PVQ
-  if (best_tx < TX_SIZES)
-    txfm_rd_in_plane(x, cpi, &r, &d, &s, &sse, ref_best_rd, 0, bs, best_tx,
+  if (best_tx < TX_SIZES) {
+    RD_STATS this_rd_stats;
+    txfm_rd_in_plane(x, cpi, &this_rd_stats, ref_best_rd, 0, bs, best_tx,
                      cpi->sf.use_fast_coef_costing);
+  }
 #endif
 }