Use static_cast for QSvgNode


A reinterpret_cast can cast pretty much everything into everything else
which is not needed for the conversion at hand. static_cast at least
provides some compile time checks.

Change-Id: I6d59c57e10d8b35be167fbf95b5cd7df1b67f56b
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
commit53771f2b80693558c1a30205038797376a018b89
parente488f852fa18c2afc2842a88eff8f66ad4105a45
authorRobert Löhning <robert.loehning@qt.io>
committerRobert Löhning <robert.loehning@qt.io>
commit timeFri, 10 Apr 2026 11:33:11 +0200