Correct htonll macro detection in CMake.

CMake's check_function_exists() only checks for a symbol being defined in a
library, and does not cover the instance where a function may be defined as a
macro a header. Use check_symbol_exists() to check arpa/inet.h header for symbol
existance of htonll.

This fixes #200