Reset the cyclic_refresh_mode_index to 0 on resize.
Reset the cyclic_refresh_mode_index to 0 on resize.

On an internal spatial resize, this mode index was not reset to 0,
and therefore could exceed dimensions of seg_map or cyclic_refresh_map.

Change-Id: I6fe85dbd2765eb0207a9d9f71fda8d8b8c34f075

iniwf/webm.libvpx,jdm/libvpx,charup/https---github.com-webmproject-libvpx-,luctrudeau/aom,kim42083/webm.libvpx,GrokImageCompression/aom,ShiftMediaProject/libvpx,zofuthan/libvpx,pcwalton/libvpx,kalli123/webm.libvpx,vasilvv/esvp8,matanbs/webm.libvpx,Topopiccione/libvpx,turbulenz/libvpx,stewnorriss/libvpx,running770/libvpx,lyx2014/libvpx_c,jmvalin/aom,ittiamvpx/libvpx,Laknot/libvpx,zofuthan/libvpx,ShiftMediaProject/libvpx,kleopatra999/webm.libvpx,vasilvv/esvp8,lyx2014/libvpx_c,gshORTON/webm.libvpx,running770/libvpx,turbulenz/libvpx,jmvalin/aom,matanbs/vp982,openpeer/libvpx_new,smarter/aom,kleopatra999/webm.libvpx,VTCSecureLLC/libvpx,WebRTC-Labs/libvpx,shareefalis/libvpx,smarter/aom,felipebetancur/libvpx,smarter/aom,turbulenz/libvpx,matanbs/vp982,mbebenita/aom,iniwf/webm.libvpx,jacklicn/webm.libvpx,ShiftMediaProject/libvpx,altogother/webm.libvpx,Distrotech/libvpx,openpeer/libvpx_new,WebRTC-Labs/libvpx,n4t/libvpx,VTCSecureLLC/libvpx,openpeer/libvpx_new,cinema6/libvpx,felipebetancur/libvpx,running770/libvpx,mwgoldsmith/vpx,reimaginemedia/webm.libvpx,mwgoldsmith/vpx,stewnorriss/libvpx,running770/libvpx,Suvarna1488/webm.libvpx,jmvalin/aom,luctrudeau/aom,iniwf/webm.libvpx,running770/libvpx,thdav/aom,charup/https---github.com-webmproject-libvpx-,gshORTON/webm.libvpx,Topopiccione/libvpx,reimaginemedia/webm.libvpx,hsueceumd/test_hui,pcwalton/libvpx,Maria1099/webm.libvpx,abwiz0086/webm.libvpx,liqianggao/libvpx,WebRTC-Labs/libvpx,ittiamvpx/libvpx,altogother/webm.libvpx,thdav/aom,matanbs/webm.libvpx,ittiamvpx/libvpx,lyx2014/libvpx_c,sanyaade-teachings/libvpx,webmproject/libvpx,openpeer/libvpx_new,Laknot/libvpx,VTCSecureLLC/libvpx,hsueceumd/test_hui,shyamalschandra/libvpx,ittiamvpx/libvpx-1,mwgoldsmith/libvpx,shyamalschandra/libvpx,zofuthan/libvpx,sanyaade-teachings/libvpx,iniwf/webm.libvpx,mwgoldsmith/libvpx,luctrudeau/aom,shareefalis/libvpx,shacklettbp/aom,ShiftMediaProject/libvpx,charup/https---github.com-webmproject-libvpx-,kleopatra999/webm.libvpx,shacklettbp/aom,shacklettbp/aom,kim42083/webm.libvpx,vasilvv/esvp8,lyx2014/libvpx_c,Maria1099/webm.libvpx,ittiamvpx/libvpx-1,goodleixiao/vpx,Distrotech/libvpx,goodleixiao/vpx,matanbs/webm.libvpx,mwgoldsmith/vpx,smarter/aom,reimaginemedia/webm.libvpx,kalli123/webm.libvpx,Laknot/libvpx,cinema6/libvpx,smarter/aom,kim42083/webm.libvpx,mwgoldsmith/libvpx,webmproject/libvpx,shyamalschandra/libvpx,hsueceumd/test_hui,vasilvv/esvp8,shareefalis/libvpx,GrokImageCompression/aom,Distrotech/libvpx,mbebenita/aom,WebRTC-Labs/libvpx,jdm/libvpx,GrokImageCompression/aom,reimaginemedia/webm.libvpx,felipebetancur/libvpx,abwiz0086/webm.libvpx,jmvalin/aom,ittiamvpx/libvpx,gshORTON/webm.libvpx,Topopiccione/libvpx,Acidburn0zzz/webm.libvpx,goodleixiao/vpx,kim42083/webm.libvpx,webmproject/libvpx,lyx2014/libvpx_c,charup/https---github.com-webmproject-libvpx-,matanbs/vp982,charup/https---github.com-webmproject-libvpx-,mbebenita/aom,cinema6/libvpx,WebRTC-Labs/libvpx,matanbs/webm.libvpx,goodleixiao/vpx,Suvarna1488/webm.libvpx,Acidburn0zzz/webm.libvpx,VTCSecureLLC/libvpx,jacklicn/webm.libvpx,hsueceumd/test_hui,thdav/aom,turbulenz/libvpx,ShiftMediaProject/libvpx,mbebenita/aom,thdav/aom,n4t/libvpx,Acidburn0zzz/webm.libvpx,thdav/aom,mwgoldsmith/vpx,luctrudeau/aom,ittiamvpx/libvpx,shacklettbp/aom,goodleixiao/vpx,openpeer/libvpx_new,iniwf/webm.libvpx,Topopiccione/libvpx,GrokImageCompression/aom,kalli123/webm.libvpx,shyamalschandra/libvpx,shyamalschandra/libvpx,felipebetancur/libvpx,reimaginemedia/webm.libvpx,kim42083/webm.libvpx,ittiamvpx/libvpx-1,Distrotech/libvpx,Suvarna1488/webm.libvpx,hsueceumd/test_hui,n4t/libvpx,smarter/aom,turbulenz/libvpx,stewnorriss/libvpx,stewnorriss/libvpx,stewnorriss/libvpx,Acidburn0zzz/webm.libvpx,Suvarna1488/webm.libvpx,liqianggao/libvpx,matanbs/vp982,abwiz0086/webm.libvpx,turbulenz/libvpx,pcwalton/libvpx,altogother/webm.libvpx,zofuthan/libvpx,altogother/webm.libvpx,reimaginemedia/webm.libvpx,pcwalton/libvpx,zofuthan/libvpx,openpeer/libvpx_new,jmvalin/aom,running770/libvpx,mwgoldsmith/vpx,stewnorriss/libvpx,mbebenita/aom,vasilvv/esvp8,Maria1099/webm.libvpx,matanbs/webm.libvpx,kim42083/webm.libvpx,mwgoldsmith/vpx,shareefalis/libvpx,liqianggao/libvpx,shyamalschandra/libvpx,charup/https---github.com-webmproject-libvpx-,matanbs/vp982,abwiz0086/webm.libvpx,VTCSecureLLC/libvpx,lyx2014/libvpx_c,iniwf/webm.libvpx,mwgoldsmith/libvpx,Topopiccione/libvpx,liqianggao/libvpx,turbulenz/libvpx,abwiz0086/webm.libvpx,felipebetancur/libvpx,turbulenz/libvpx,ittiamvpx/libvpx-1,kleopatra999/webm.libvpx,vasilvv/esvp8,shacklettbp/aom,felipebetancur/libvpx,Laknot/libvpx,jdm/libvpx,gshORTON/webm.libvpx,cinema6/libvpx,jdm/libvpx,ittiamvpx/libvpx-1,jdm/libvpx,Maria1099/webm.libvpx,altogother/webm.libvpx,Suvarna1488/webm.libvpx,cinema6/libvpx,Distrotech/libvpx,goodleixiao/vpx,zofuthan/libvpx,abwiz0086/webm.libvpx,luctrudeau/aom,ittiamvpx/libvpx,mbebenita/aom,webmproject/libvpx,cinema6/libvpx,matanbs/webm.libvpx,VTCSecureLLC/libvpx,luctrudeau/aom,jacklicn/webm.libvpx,altogother/webm.libvpx,Acidburn0zzz/webm.libvpx,jmvalin/aom,kalli123/webm.libvpx,Suvarna1488/webm.libvpx,hsueceumd/test_hui,webmproject/libvpx,mbebenita/aom,mwgoldsmith/libvpx,jacklicn/webm.libvpx,gshORTON/webm.libvpx,Acidburn0zzz/webm.libvpx,pcwalton/libvpx,shacklettbp/aom,kalli123/webm.libvpx,n4t/libvpx,sanyaade-teachings/libvpx,mbebenita/aom,n4t/libvpx,kleopatra999/webm.libvpx,thdav/aom,Distrotech/libvpx,Laknot/libvpx,sanyaade-teachings/libvpx,turbulenz/libvpx,shareefalis/libvpx,kalli123/webm.libvpx,Maria1099/webm.libvpx,jacklicn/webm.libvpx,mbebenita/aom,jdm/libvpx,Topopiccione/libvpx,sanyaade-teachings/libvpx,kleopatra999/webm.libvpx,ittiamvpx/libvpx-1,Laknot/libvpx,shareefalis/libvpx,GrokImageCompression/aom,cinema6/libvpx,GrokImageCompression/aom,pcwalton/libvpx,jacklicn/webm.libvpx,webmproject/libvpx,gshORTON/webm.libvpx,Maria1099/webm.libvpx,liqianggao/libvpx,liqianggao/libvpx,vasilvv/esvp8,matanbs/vp982,matanbs/vp982,mwgoldsmith/libvpx