[WebAssembly] Fix function return type printing