Do a binary search to get the optimum cache bits.
Do a binary search to get the optimum cache bits.

This speeds up the lossless encoder by a bit (1-2%), without impacting the
compression density.

Change-Id: Ied6fb38fab58eef9ded078697e0463fe7c560b26

Acidburn0zzz/webm.libwebp,kim42083/webm.libwebp,Suvarna1488/webm.libwebp,Aexyn/libwebp,Aexyn/libwebp,PKRoma/libwebp,keane83/BLE_IM,kleopatra999/webm.libwebp,jiehu5114/libwebp,jacklicn/libwebp,comoyo/gonzo-libwebp,matanbs/webm.libwebp,appunite/libwebp,kim42083/webm.libwebp,iniwf/webm.libwebp,jiehu5114/libwebp,Suvarna1488/webm.libwebp,yohunl/libwebp,Acidburn0zzz/webm.libwebp,Maria1099/webm.libwebp,kalli123/webm.libwebp,appunite/libwebp,rxl194/libwebp,kalli123/webm.libwebp,ericmckean/webm.libwebp,reimaginemedia/webm.libwebp,jacklicn/libwebp,abwiz0086/webm.libwebp,abwiz0086/webm.libwebp,redengineer/libwebp,reimaginemedia/webm.libwebp,altogother/webm.libwebp,PKRoma/libwebp,kim42083/webm.libwebp,rxl194/libwebp,Maria1099/webm.libwebp,keane83/BLE_IM,ttyangf/libwebp,comoyo/gonzo-libwebp,ericmckean/webm.libwebp,altogother/webm.libwebp,comoyo/gonzo-libwebp,rxl194/libwebp,gshORTON/webm.libwebp,reimaginemedia/webm.libwebp,appunite/libwebp,webmproject/libwebp,Maria1099/webm.libwebp,ericmckean/webm.libwebp,reimaginemedia/webm.libwebp,kleopatra999/webm.libwebp,keane83/BLE_IM,kalli123/webm.libwebp,comoyo/gonzo-libwebp,Maria1099/webm.libwebp,gshORTON/webm.libwebp,webmproject/libwebp,redengineer/libwebp,altogother/webm.libwebp,imazen/libwebp,imazen/libwebp,rxl194/libwebp,Suvarna1488/webm.libwebp,Acidburn0zzz/webm.libwebp,kleopatra999/webm.libwebp,matanbs/webm.libwebp,zofuthan/libwebp,kim42083/webm.libwebp,iniwf/webm.libwebp,Suvarna1488/webm.libwebp,ya7lelkom/libwebp,yohunl/libwebp,yohunl/libwebp,iniwf/webm.libwebp,PKRoma/libwebp,zofuthan/libwebp,imazen/libwebp,jacklicn/libwebp,Aexyn/libwebp,redengineer/libwebp,webmproject/libwebp,matanbs/webm.libwebp,gshORTON/webm.libwebp,abwiz0086/webm.libwebp,jacklicn/libwebp,jacklicn/libwebp,gshORTON/webm.libwebp,reimaginemedia/webm.libwebp,ttyangf/libwebp,yohunl/libwebp,ya7lelkom/libwebp,abwiz0086/webm.libwebp,comoyo/gonzo-libwebp,ericmckean/webm.libwebp,kalli123/webm.libwebp,kleopatra999/webm.libwebp,PKRoma/libwebp,ericmckean/webm.libwebp,PKRoma/libwebp,appunite/libwebp,appunite/libwebp,imazen/libwebp,kalli123/webm.libwebp,ttyangf/libwebp,gshORTON/webm.libwebp,yohunl/libwebp,zofuthan/libwebp,iniwf/webm.libwebp,imazen/libwebp,appunite/libwebp,ttyangf/libwebp,ya7lelkom/libwebp,zofuthan/libwebp,Aexyn/libwebp,comoyo/gonzo-libwebp,abwiz0086/webm.libwebp,altogother/webm.libwebp,ya7lelkom/libwebp,keane83/BLE_IM,comoyo/gonzo-libwebp,redengineer/libwebp,jiehu5114/libwebp,webmproject/libwebp,redengineer/libwebp,ya7lelkom/libwebp,Acidburn0zzz/webm.libwebp,iniwf/webm.libwebp,jiehu5114/libwebp,PKRoma/libwebp,matanbs/webm.libwebp,Acidburn0zzz/webm.libwebp,Maria1099/webm.libwebp,zofuthan/libwebp,Aexyn/libwebp,kim42083/webm.libwebp,jiehu5114/libwebp,ttyangf/libwebp,matanbs/webm.libwebp,webmproject/libwebp,Suvarna1488/webm.libwebp,keane83/BLE_IM,rxl194/libwebp,kleopatra999/webm.libwebp,altogother/webm.libwebp