Minor refactoring of lib/dns/tsig.c to reduce code duplication and simplify the disabling of MD5. The patch subsumes RT#45409 "typo in DNS_NAME_INITABSOLUTE"