this would expose the deadlock bug, which has been fixed by https://github.com/bytecodealliance/wasm-micro-runtime/pull/2882
Apply clang format for c source files under samples folder
Fix the build issues on mac for basic/multi-module/multi-thread/ simple/spawn-thread/wasm-c-api under samples. And all these samples could be run as expected. Signed-off-by: Xiaokang Qin <xiaokang.qxk@antgroup.com>