QTextToSpeechEngineSpeechd: build with QT_NO_CAST_FROM_BYTEARRAY
Assuming QVoice objects from different backends cannot mix, the
QByteArray in question comes from QVariant-unwrapping of a QByteArray
wrapped in updateVoices(), which created them from NUL-terminated C
strings. So the QByteArray is known to be NUL-terminated, and we can
just call data() here (instead of nullTerminated().constData()).
Amends 81414c0c4d8c59867f173211678b02f3653167a1 (6.4).
Pick-to: 6.11 6.10 6.8
Task-number: QTBUG-145302
Change-Id: I3dec74d0054a1c2798c14ee99e0ed912a1d45dcf
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>