Guard against empty image size in QSvgPattern::patternImage()


...to avoid a following division by zero in
QSvgPattern::calculateAppliedTransform()

Pick-to: 6.10 6.8
Change-Id: I027efbf54961f9fbfffe49542bbad620dab492b0
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
commit08a6328863baf824523cc268e568b43949bde106
parentb1245894f7ce6348b93870815a199b17f252caf3
authorRobert Löhning <robert.loehning@qt.io>
committerRobert Löhning <robert.loehning@qt.io>
commit timeTue, 21 Oct 2025 10:54:12 +0000