During symbol resolution we, emit warnings for function signature
mismatcheds. During GC, if any mismatched symbol is marked as live
then we generate an error.
This means that we only bailerror out if the mitsmatch would occur inis written to the
final output. i.e. if we would generate an invalid wasm file.