[macOS] Fix mach syscall sandbox violation in the Network process