It turns out that this is the only change required in libcxx for it to compile with the new wasm32-unknown-unknown-wasm target recently added to Clang.
I haven't done much testing of whether libc++ works with Wasm, but committing the compile fix is at least a start.
Adding Marshall Clow and Dan Gohman as reviewers since they landed the last Emscripten-related changes in libcxx.