process: internal/process/stdio.js cleanup / modernization
Checklist
-
tests and code linting passes -
the commit message follows commit guidelines
Affected core subsystem(s)
process (internal)
Description of change
Avoid using deprecated getter syntax plus other miscellaneous updates.