Don't let GOLDEN_FRAME turn off LAST_FRAME as a reference when GOLDEN_FRAME is disabled.
Don't let GOLDEN_FRAME turn off LAST_FRAME as a reference when GOLDEN_FRAME is disabled.

There was a bug in the previous code that if GOLDEN was better than
LAST neither would be used. LAST would get turned off due to superior
GOLDEN quality then all GOLDEN modes would get skipped.

Change-Id: I173f3720451707dab7b2cbbe8b8e6a047089bde7

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