perf: Replace third-party crates with Rust std lib equivalents (#11569)
## Summary
Replaces four third-party Rust crates with their Rust 1.80+ standard
library equivalents, reducing external dependencies while maintaining
identical functionality.
### Replacements
| Crate | Replacement | Usages |
|-------|-------------|--------|
| `atty` | `std::io::IsTerminal` | 6 |
| `lazy_static` | `std::sync::LazyLock` | 12 |
| `once_cell` | `std::sync::OnceLock`/`LazyLock` | 2 |
| `num_cpus` | `std::thread::available_parallelism` | 5 |
### Testing
- `cargo check --all-targets` passes
- Tests pass for all modified crates
### Notes
- `async_once_cell` in `turborepo-repository` was not replaced as there
is no std equivalent for async lazy initialization
- The `IsTerminal` trait must be imported (`use std::io::IsTerminal`) to
call `.is_terminal()` on stdio handles
- `available_parallelism()` returns `Result<NonZeroUsize>`, handled with
`.map(|n| n.get()).unwrap_or(1)`