dnsmasq: fix crash after re-reading an empty resolv.conf file
Without this patch dnsmasq crashes quite frequently if WAN link is going up and down. The patch is a backported fix for a bug that was introduced in dnsmasq version 2.86 and fixed in version 2.87