Improve golden frame refreshing in non-rd mode
Improve golden frame refreshing in non-rd mode

The default golden frame interval was doubled. After encoding a
frame, the background motion was measured. If the motion was high,
the current frame was set as the golden frame. Currently, the
changes were applied only while aq-mode 3 was on.

Borg tests(rtc set) showed a 0.226% PSNR gain and 0.312% SSIM gain.
No speed changes.

Change-Id: Id1e2793cc5be37e8a9bacec1380af6f36182f9b1

felipebetancur/libvpx,shyamalschandra/libvpx,mbebenita/aom,openpeer/libvpx_new,goodleixiao/vpx,openpeer/libvpx_new,felipebetancur/libvpx,openpeer/libvpx_new,GrokImageCompression/aom,running770/libvpx,smarter/aom,mwgoldsmith/libvpx,liqianggao/libvpx,mbebenita/aom,GrokImageCompression/aom,felipebetancur/libvpx,thdav/aom,GrokImageCompression/aom,mwgoldsmith/vpx,shacklettbp/aom,ShiftMediaProject/libvpx,thdav/aom,ittiamvpx/libvpx-1,luctrudeau/aom,smarter/aom,liqianggao/libvpx,lyx2014/libvpx_c,running770/libvpx,lyx2014/libvpx_c,VTCSecureLLC/libvpx,running770/libvpx,thdav/aom,goodleixiao/vpx,mwgoldsmith/libvpx,GrokImageCompression/aom,felipebetancur/libvpx,ittiamvpx/libvpx-1,webmproject/libvpx,openpeer/libvpx_new,shyamalschandra/libvpx,goodleixiao/vpx,ittiamvpx/libvpx-1,Topopiccione/libvpx,luctrudeau/aom,VTCSecureLLC/libvpx,webmproject/libvpx,mbebenita/aom,shacklettbp/aom,smarter/aom,lyx2014/libvpx_c,running770/libvpx,luctrudeau/aom,thdav/aom,running770/libvpx,ittiamvpx/libvpx-1,shyamalschandra/libvpx,stewnorriss/libvpx,smarter/aom,VTCSecureLLC/libvpx,zofuthan/libvpx,ittiamvpx/libvpx-1,webmproject/libvpx,liqianggao/libvpx,shacklettbp/aom,stewnorriss/libvpx,mbebenita/aom,Topopiccione/libvpx,stewnorriss/libvpx,mwgoldsmith/libvpx,zofuthan/libvpx,shyamalschandra/libvpx,goodleixiao/vpx,smarter/aom,mwgoldsmith/vpx,Topopiccione/libvpx,webmproject/libvpx,shyamalschandra/libvpx,felipebetancur/libvpx,luctrudeau/aom,mwgoldsmith/vpx,zofuthan/libvpx,lyx2014/libvpx_c,stewnorriss/libvpx,ShiftMediaProject/libvpx,jmvalin/aom,VTCSecureLLC/libvpx,shacklettbp/aom,mwgoldsmith/libvpx,mbebenita/aom,mwgoldsmith/vpx,ShiftMediaProject/libvpx,Topopiccione/libvpx,stewnorriss/libvpx,thdav/aom,jmvalin/aom,mbebenita/aom,goodleixiao/vpx,jmvalin/aom,liqianggao/libvpx,jmvalin/aom,lyx2014/libvpx_c,mwgoldsmith/libvpx,shacklettbp/aom,mwgoldsmith/vpx,mbebenita/aom,mwgoldsmith/libvpx,webmproject/libvpx,zofuthan/libvpx,VTCSecureLLC/libvpx,zofuthan/libvpx,mbebenita/aom,ShiftMediaProject/libvpx,smarter/aom,GrokImageCompression/aom,Topopiccione/libvpx,zofuthan/libvpx,thdav/aom,Topopiccione/libvpx,mbebenita/aom,goodleixiao/vpx,ShiftMediaProject/libvpx,openpeer/libvpx_new,ittiamvpx/libvpx-1,luctrudeau/aom,liqianggao/libvpx,shacklettbp/aom,VTCSecureLLC/libvpx,webmproject/libvpx,shyamalschandra/libvpx,mwgoldsmith/vpx,jmvalin/aom,running770/libvpx,stewnorriss/libvpx,felipebetancur/libvpx,openpeer/libvpx_new,jmvalin/aom,liqianggao/libvpx,luctrudeau/aom,lyx2014/libvpx_c,GrokImageCompression/aom