dnsmasq: fix backward compatibility with existing configs