tests_dns: Make DNS tests older nameser.h compatible