Disable assertions in tsgen
When using tsgen with -sASYNCIFY=1 and assertions enabled, an assertion failure occurs: Assertion failed: missing Wasm export: asyncify_start_unwind. This is due to https://github.com/emscripten-core/emscripten/pull/25541.
This PR disables assertions when running tsgen to resolve the issue.
@brendandahl do you know why this is needed?
We run tsgen before the wasm-opt asyncify pass so the asyncify functions haven't been created yet.
Yeah, basically the wasm isn't fully generated yet... disabling assertions fixes asserts that expect those contents, but I wonder if we might hit other issues later. If so, for Asyncify at least, we'd need to run it before tsgen somehow...