dns: kill pending dnsmasq process when mode is not 'dnsmasq'

When NM starts, if `main.dns` is not `dnsmasq`, then the pending dnsmasq
process should be killed by NM.

https://bugzilla.redhat.com/show_bug.cgi?id=2120763

!1344
62 jobs for wl/dns in 35 minutes and 49 seconds (queued for 4 seconds)
latest