Optimize BackwardReferences for RLE encoding.
Optimize BackwardReferences for RLE encoding.

Updated BackwardReferencesRle method by utilizing the local color cache.
Also changed the name of method BackwardReferencesHashChain to
BackwardReferencesLz77 to reflect the LZ77 coding.

For the 1000 image corpus, this change saves 0.2% bytes
(at default settings) and is 2-5% faster to encode.

Change-Id: Ic3f288253b3bbb101a69945a80994c3fd0917f8b

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