Fix logic in rd_pick_intra4x4block()

Fix the merge issue due to pvq. This fixes significant key frame
performance loss.

Change-Id: I5fef4648cfc9e94f63b553ac15e051a6c4d4ca13
diff --git a/av1/encoder/rdopt.c b/av1/encoder/rdopt.c
index 88c450d..f39034d 100644
--- a/av1/encoder/rdopt.c
+++ b/av1/encoder/rdopt.c
@@ -2257,6 +2257,9 @@
           ratey += av1_cost_coeffs(cm, x, 0, block, coeff_ctx, TX_4X4,
                                    scan_order->scan, scan_order->neighbors,
                                    cpi->sf.use_fast_coef_costing);
+          *(tempa + idx) = !(p->eobs[block] == 0);
+          *(templ + idy) = !(p->eobs[block] == 0);
+          can_skip &= (p->eobs[block] == 0);
 #else
           skip = av1_pvq_encode_helper(&x->daala_enc, coeff, ref_coeff, dqcoeff,
                                        &p->eobs[block], pd->dequant, 0, TX_4X4,