Bug 885976 - Make ScriptFrameIter::numFrameSlots() a bit more robust. r=luke