[v8.x backport] src: add public API for managing NodePlatform
Can't show this merge request because the source branch github/fork/codebytere/backport-16981-to-v8.x is missing from project rodrigo-test/test-group-nodejs/node. Close this merge request or update the source branch.