[GUFA] Fix call.without.effects's handling of the last parameter (#5111)
[GUFA] Fix call.without.effects's handling of the last parameter (#5111)

The last parameter is the function to call, and we treated it like a normal parameter.
This is mostly only an issue during debugging, but in theory sending this extra value
could cause us to optimize less later (since it gets added to what the local of that
index can contain).

Also add assertions which would have caught this before.

WebAssembly/binaryen,WebAssembly/binaryen,WebAssembly/binaryen,WebAssembly/binaryen,WebAssembly/binaryen