This commit implements the missing `wasm_func_type` C API function.
https://github.com/WebAssembly/wasm-c-api