imports
`imports` contains `func_import`, `global_import`, `memory_import` and `table_import`, so 4 items. This patch updates the length of `imports` when calling the `wasmer_instantiate` function.
test-exports.c
test-instantiate.c
test-memory.c