Fix a bug in VP9Worker which leads to unit test hang.
Fix a bug in VP9Worker which leads to unit test hang.

This fixes the hang in VP9/InvalidFileTest.ReturnCode/3
due to worker->had_error has not been reset after getting
error.

Change-Id: Ia3608225094758a2bd88f6ae4dd9dfd93bbaad27

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