Don't define ntohll() if it is already defined.

Fixes [THRIFT-2907](https://issues.apache.org/jira/browse/THRIFT-2907)