wasm: re-implement `updateExports`

We now correctly create a symbol for each exported decl with its export-
name. The symbol points to the same linker-object. We store a map from
decl to all of its exports so we can update exports if it already exists
rather than infinitely create new exports.
8f96e7eec1Luuk de Gram committed on 2/29/2024, 2:23:04 PMparenta028b10
4 files changedLine totals unavailable