If QT_NO_CAST_FROM_BYTEARRAY is set, along with using MDNSRESPONDER,
then the implicit cast from QByteArray to const char * is not available.
The MDNSRESPONDER API uses const char * parameters and kdnssd passes
QByteArray to them. Make the necessary conversion explicit.
Submitted downstream in FreeBSD by Ashish SHUKLA