glib-2.0_2.22.1: Fix configure to test res_query by including resolv.h
* uclibc does not export res_query as weak like glibc, instead it exports
__res_query and then in resolv.h it defines res_query as __res_query,
the check for this fuction in configure checked the availability in every
way except it did not check if the function is in C library by including
resolv.h. Without resolv.h the function is reported as undefined.