Backport of DNS resolution patch for Xrootd client.

Previously, we tried to update to 3.3.3, then to 4.0.3, then hit
a ROOT issue.  Meanwhile, Ops didn't get the fix they were waiting
for.  So, while we wait on ROOT, here's the originally-requested
backport.

Original patch here:
https://github.com/xrootd/xrootd/commit/6184cd0f24145ebae66bc782d929444d19700fdc
Merge pull request #1050 from degano/xrootd_patch_dns_73X

Backport of DNS resolution patch for Xrootd client.