Use enum RUN_TYPE when checking dry_run

Change-Id: If6479b165e32caead29f7cedcfa64e637be2fb98
diff --git a/av1/encoder/encodeframe.c b/av1/encoder/encodeframe.c
index b08c370..dd31271 100644
--- a/av1/encoder/encodeframe.c
+++ b/av1/encoder/encodeframe.c
@@ -5260,7 +5260,7 @@
 
 #if CONFIG_PVQ
   x->pvq_speed = 0;
-  x->pvq_coded = !dry_run ? 1 : 0;
+  x->pvq_coded = (dry_run == OUTPUT_ENABLED) ? 1 : 0;
 #endif
 
   if (!is_inter) {