Fix issues with stroke animations


There are two issues solved by this commit. First, the wrongly
generated number of key frames in the case an animateColor is used
which led to incorrect animations when the "values" attribute is
defined. Second, stroke animations did not run if there was no
initial stroke value defined. This happened because the brush
style was set to NoBrush by QSvgStrokeStyle::apply

Fixes: QTBUG-135596
Pick-to: 6.9
Change-Id: I6ee9c686b1d60f6cf754cac749b3dce5185e2bfa
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
commit331bd346d6e6928ac2dc6cf813bb592507f17a13
parent6adb093beb5c8fa6d7510b68d65d2613a76c8ee8
authorHatem ElKharashy <hatem.elkharashy@qt.io>
committerHatem ElKharashy <hatem.elkharashy@qt.io>
commit timeMon, 7 Apr 2025 07:44:52 +0000