node-api: add __wasm32__ guards on async works
Threaded work napi_async_work
is not available on wasm. Hide their declaration if __wasm32__
is defined.
Refs: https://github.com/nodejs/node/pull/33597 Refs: https://github.com/nodejs/node-addon-api/pull/1283