[CFL] Calculate SSE for distinct alpha before RDO

Separate the codes into a table of distinct values
and an index into that table.
Pull the SSE calculation of the RDO loop and avoid
repeating for the same alpha values.

Change-Id: I8c4bd7eab6f8000e6aca9687d9190abc3e270c37
Signed-off-by: David Michael Barr <b@rr-dav.id.au>
diff --git a/av1/decoder/decodemv.c b/av1/decoder/decodemv.c
index 77fd713..d8cc525 100644
--- a/av1/decoder/decodemv.c
+++ b/av1/decoder/decodemv.c
@@ -220,10 +220,10 @@
     // Signs are only coded for nonzero values
     // sign == 0 implies negative alpha
     // sign == 1 implies positive alpha
-    signs_out[CFL_PRED_U] = (cfl_alpha_codes[ind][CFL_PRED_U] != 0.0)
+    signs_out[CFL_PRED_U] = cfl_alpha_codes[ind][CFL_PRED_U]
                                 ? aom_read_bit(r, "cfl:sign")
                                 : CFL_SIGN_POS;
-    signs_out[CFL_PRED_V] = (cfl_alpha_codes[ind][CFL_PRED_V] != 0.0)
+    signs_out[CFL_PRED_V] = cfl_alpha_codes[ind][CFL_PRED_V]
                                 ? aom_read_bit(r, "cfl:sign")
                                 : CFL_SIGN_POS;