fix bad mapping of modes 26 and 27

The data structures in rdopt.c and rd.h are out of sync -- mode 26 is
{ GLOBALMV, { GOLDEN_FRAME, NONE_FRAME } }, while mode 27 is
{ GLOBALMV, { ALTREF_FRAME, NONE_FRAME } } -- however, rd.h has them
reversed. This incorrect mapping is used by the 2-pass TX search and
results in a bad mode index being copied into the best search state
seen.

STATS_CHANGED:
This improves bd-rate by about 0.03% on the lowres test set. Previously,
if either of the above two modes was selected as best, the other one would
actually be encoded in the bitstream.

Change-Id: I4f6dcae261b317f3828428b2e8fb5e6655a9023a
diff --git a/av1/encoder/rd.h b/av1/encoder/rd.h
index ff46083..a256ec1 100644
--- a/av1/encoder/rd.h
+++ b/av1/encoder/rd.h
@@ -78,8 +78,8 @@
   THR_GLOBALL3,
   THR_GLOBALB,
   THR_GLOBALA2,
-  THR_GLOBALA,
   THR_GLOBALG,
+  THR_GLOBALA,
 
   THR_COMP_NEAREST_NEARESTLA,
   THR_COMP_NEAREST_NEARESTL2A,