src: use uv_guess_handle() to detect TTYs
The first commit is the libuv update from https://github.com/nodejs/node/pull/31332, and can be ignored for the purposes of this PR.
This commit drops the use of isatty()
and IBMi specific code in favor of uv_guess_handle()
now that the relevant IBMi changes have been upstreamed.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines