[Mac] Fix build

Use <sys/prctl.h> and prctl() only on Linux (OS_LINUX) and not Posix (OS_POSIX).

This seems to be the way Chromium guards the items.