Add Mac support for MSG_NOSIGNAL