fix: rewrite process stdio with guessHandleType and lazy getters
Rewrites process.stdin/stdout/stderr initialization to match Node.js
is_main_thread.js pattern:
- Lazy getters: streams created on first access, breaking circular deps
between process, node:net, node:fs, node:tty
- Uses guessHandleType(fd) to determine stream type:
TTY -> tty.WriteStream/ReadStream
PIPE/TCP -> net.Socket (for non-stdio fds)
FILE -> sync fd write stream
- For stdio fds 0-2, avoids net.Socket since Deno owns these handles
through the resource table; uses fd-based ops instead
- Removes setReadStream/setWriteStream injection, uses lazy tty loader
- Updates tests to match Node.js behavior: isTTY is true on TTY
streams, undefined on non-TTY (not false)
Fixes #33131 (Git Bash EBADF panic).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>