Backport the patch for bug 784631

Without this change, we get a build failure when using recent clang:

```
js/src/jsinterp.cpp:3685:9: error: indirect goto might cross protected scopes
```