[mac] Fix compilation on macOS

Commit fbde2371 broke the build on macOS with the following error:
 `error: use of undeclared identifier 'SO_DOMAIN’`

This patch fixes the build by disabling the use of `SO_DOMAIN`
to disable `TCP_CORK` in the case of an `AF_UNIX` socket on
macOS.

Change-Id: I815421a7531136c6a7c468b1664221cfc5ea5df1
Reviewed-on: http://gerrit.cloudera.org:8080/15771
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <aserbin@cloudera.com>
1 file changed