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