fix a bug where flags are not reset
fix a bug where flags are not reset

The feature that uses small partition results as a measure to skip
mode evaluation at larger partition requires the flags to be reset.
The reset was missing in the code path that calls rd_use_partition().

Change-Id: Ia0a3a0aee1a862b6e2333d596808db7c48033d50

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