max_sad check is not always implemented
max_sad check is not always implemented

As an optimization some architectures use the max_sad argument to break
out early from the SAD. Pass in INT_MAX instead of 0 to prevent this.

Change-Id: I653c476834b97771578d63f231233d445388629d

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