Revert "[macos] Fix warnings around syscall deprecation on OS X 10.12 and up"

This reverts commit a8a17dab303dd83a857b1f3d557ca323cd8fbce8.

This is incorrect and breaks on Linux.

Change-Id: I0afb511a540cb737e8267597c1ccf1d024f52261
2 files changed