FFmpeg: subtitleTextFromAVSubtitle - clean up implementation


* use QSpan to avoid integer indices
* use regex to handle linebreaks

Pick-to: 6.12
Change-Id: Ib9dfe7f1c94fa4cc82c354960e05a0d1abffd7d8
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
commitdd78e2435e5a423f59cc27d37dbf70c315936eb6
parent54b31ec97951ba71a3edecd42f095b45aaa18b9d
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeWed, 2 Sep 2026 00:16:43 +0000