dirmngr: Fix aliasing problem in dns.c.