Create package relationship only when quantum-dhcp-agent package is defined.

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.