Fix for multi-res-encoding:
Fix for multi-res-encoding:

Use local variable for setting the improved prediction mode.
cpi->sf.improved_mv_pred is set/fixed at the frame level
and should not be changed inside pick_inter_mode.

Change-Id: Ie28d9171ac000e631af0e30204970e3d4fff3078

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