doc: fix napi_create_*_error signatures in n-api
I think that these signatures need the napi_value* result
of the error they are creating (as described below each one, and earlier in the docs)
Checklist
-
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
- doc