In configure script check for getaddrinfo_a() directly instead of libanl, for better compatibility with other libc implementations different from glibc

Signed-off-by: Huang Le <4tarhl@gmail.com>