Upsample reference frames after size dependent speed features are calculated.
Upsample reference frames after size dependent speed features are calculated.

This prevents a crash if the upsample_refs speed feature is
changed as part of set_size_dependent_vars, when the recode
loop is enabled.

Change-Id: I645e389bfe961879dd2001439a34fde2993868d9

GrokImageCompression/aom,mbebenita/aom,mbebenita/aom,GrokImageCompression/aom,mbebenita/aom,mbebenita/aom,luctrudeau/aom,luctrudeau/aom,luctrudeau/aom,mbebenita/aom,smarter/aom,mbebenita/aom,mbebenita/aom,GrokImageCompression/aom,GrokImageCompression/aom,smarter/aom,luctrudeau/aom,luctrudeau/aom,GrokImageCompression/aom,smarter/aom,smarter/aom,mbebenita/aom,mbebenita/aom,smarter/aom,luctrudeau/aom,smarter/aom,GrokImageCompression/aom