GStreamer: parseImage - avoid allocations


We don't need to allocate a QByteArray when we can simply wrap the
character aray in a QLatin1StringView.

Pick-to: 6.12
Change-Id: Ica9e81d4a268bb92085ccae8647b27b252130ebe
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Reviewed-by: Nils Petter Skålerud <nils.petter.skalerud@qt.io>
Reviewed-by: Mikko Hallamaa <mikko.hallamaa@qt.io>
commit524c9c6650ac2fed8f6a2486e7fc7dc5fc92c3fd
parentdd78e2435e5a423f59cc27d37dbf70c315936eb6
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeWed, 2 Sep 2026 00:16:46 +0000