wasm: Fix loading from pointers to support defer

Previously, the `load` instruction would just pass the pointer to the next instruction
for types that comply to `isByRef`. However, this meant that a defer would directly write
to the reference, rather than a copy. After this commit, we always copy the value.
3de111d993Luuk de Gram committed on 1/1/2022, 3:23:21 PMparentad1b040
2 files changedLine totals unavailable