Bug 1058131: Avoid getting a crashy hook from Avast 10 Beta. r=bzbarsky

--HG--
extra : rebase_source : 7062d0703841e2e5d3be6042ec023f73f292ff5b