Fix a bug happening while encoding at profile=3
Fix a bug happening while encoding at profile=3

While profile=3, there is no sub-pixel search. Distortion and SSE
have to calculated using get_inter_mbpred_error().

Change-Id: Ifb36e17eef7750af93efa7d0e2870142ef540184

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