Fix memleak when animation's target can't be found
animation nodes added to QSvgAbstractAnimator's m_animationsCSS and
m_animationsSMIL are deleted by the class' destructor. Before
2359035751142a402e3b639de5f8b20e52314eda, all created animation nodes
were added to those members. After that change, only nodes with an
actual target were added but remaining ones were not deleted properly.
Credit to OSS-Fuzz which found this as issue 456050169.
Pick-to: 6.10
Change-Id: I760562c9b92ea6c58d2e41acde1ad5a63591abec
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>