Look for __res_query if res_query is not found

Current(?) libresolv seems to have a layer of indirection here.
Merge pull request #2 from horazont/feature-autconf-__res_query

Look for __res_query if res_query is not found