gh-156060: Do not scan every process four times in `remote_debugging.get_child_pids()` on macOS (#156061)