Balance curly braces in encoder.c
Balance curly braces in encoder.c

This makes code motion a bit easier in editors. To do so, remove some
copy-paste code in scale_references and rewrite a duplicated loop in
set_high_precision_mv.

This patch should have no effect on behaviour.

Change-Id: Ia9e72f2c89a7f7f7a1d3cb77822ff8db8b5faaf1

GrokImageCompression/aom,GrokImageCompression/aom,GrokImageCompression/aom,GrokImageCompression/aom,GrokImageCompression/aom,GrokImageCompression/aom