Fix some issues and add basic unit test case for shared heap feature. Signed-off-by: wenlingyun1 <wenlingyun1@xiaomi.com>
ps. https://github.com/bytecodealliance/wasm-micro-runtime/issues/3546