dnsmasq: backport official fix for CVE-2017-13704