wasm: call into `generateSymbol` when lowering

This also unifies the wasm backend to use `generateSymbol` when lowering a constant
that cannot be lowered to an immediate value.
As both decls and constants are now refactored, the old `genTypedValue` is removed.
70fc6e3776Luuk de Gram committed on 3/6/2022, 6:38:53 PMparent5a45fe2
5 files changedLine totals unavailable