WinRT: fix heap overflow in boundary check


the d->currentBoundary iterator was dereferenced before its validity had
been checked.
This caused address sanitizer to crash with a heap-buffer-overflow.

Pick-to: 6.8 6.9 6.10
Change-Id: I4c83e5a6fdab8982a5048453c842854537dc2f22
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
commit510908972822ac05e8714fa8d6d3bda58e96a405
parent61a4bcf3a1ddfaa0c61ab98d294c3b7c3ee4f551
authorTim Blechmann <tim@klingt.org>
committerTim Blechmann <tim@klingt.org>
commit timeThu, 4 Sep 2025 14:17:22 +0800