When targeting WASM, `__externref_t` emits a fatal error in the backend whenever it's used in global scope. This error is reproduced [here](https://clang.godbolt.org/z/vqs6dPnKc)