Add lock for acquire_wait_info and release_wait_info, and remove release_wait_info in wasm_runtime_atomic_notify.