Allow specifying a path to libidn headers (fixes build on OpenSolaris)

Add a --with-libidn-headers= option to configure for libhesiod. This makes it possible to build hesiod on OpenSolaris.