Bug 970280: Don't attempt to clear the prototype on frozen functions. r=Mossop