This commit fixes a memory leak in `wasm_importtype_type` which returns a non-owned `wasm_externtype_t`.
https://github.com/WebAssembly/wasm-c-api