Fix relationship between dnsmasq and quantum-dhcp-agent packages

This patch causes relationship between dnsmasq and quantum-dhcp-agent
packages to be defined only when quantum-dhcp-agent is defined. This
avoids problem with undefined package for distributions that do not
have separate quantum-dhcp-agent package.