Functions specified in -emscripten-cxx-exceptions-allowed, which is
set by Emscripten's EXCEPTION_CATCHING_ALLOWED setting, can be inlined
in LLVM middle ends before we reach WebAssemblyLowerEmscriptenEHSjLj
pass in the wasm backend and thus don't get transformed for exception
catching.
This fixes the issue by adding --force-attribute=FUNC_NAME:noinline
for each function name in -emscripten-cxx-exceptions-allowed, which
adds noinline attribute to the specified function and thus excludes
the function from inlining candidates in optimization passes.
Fixes the remaining half of
https://github.com/emscripten-core/emscripten/issues/10721.