QVideoFrameConverter: jpeg - make SOI/EOI trimming reusable


`jpegDataFromMappedVideoFrame` extracts the exact range of the jpeg
image, discarding all data before SOI and after EOI.

Extracting if from convertJPEG allows us to reuse it.

Pick-to: 6.12
Change-Id: I3f0f2a11361ea6942917af2edc0561b0059c7347
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
commitd77d137aea18a74426125a39855a7a2ae616d227
parent221df4500acad1f28e241d87fc06f6c5d69f7595
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeFri, 7 Aug 2026 11:15:45 +0000