Introduce selective R-D optimization of coeffs for speed 1

Used mse based threshold logic to do R-D optimization of coeffs for speeds 1

For speed = 1, BD-rate drop is seen as 0.01% (as per AWCY runs),
with encode time reduction of 3.2% (averaged across multiple test cases) respectively.

STATS_CHANGED

Change-Id: I5179f1240a9d2377eb0db6441286b61ffb43e3de
diff --git a/av1/encoder/speed_features.c b/av1/encoder/speed_features.c
index a74c218..19bf4ce 100644
--- a/av1/encoder/speed_features.c
+++ b/av1/encoder/speed_features.c
@@ -60,9 +60,8 @@
 };
 // Threshold values to be used for disabling coeff RD-optimization
 // based on block MSE
-// TODO(any): Extend the threshold logic for lower presets and refine the
-// thresholds
-static unsigned int coeff_opt_dist_thresholds[5] = { UINT_MAX, UINT_MAX, 162754,
+// TODO(any): Experiment the threshold logic based on variance metric
+static unsigned int coeff_opt_dist_thresholds[5] = { UINT_MAX, 162754, 162754,
                                                      22026, 22026 };
 // scaling values to be used for gating wedge/compound segment based on best
 // approximate rd