Due to the search order in dnssd/CMakeLists.txt AVAHI was always used if it
could be located on the system. Force cmake to not search for AVAHI/mDNS by
defining KDE's OptionalFindPackage Macros depending on the PORTS switches.
This commit request is taken from area51's revision 10453 and is related to D1021.