QSvgAbstractAnimatedProperty: make createAnimatedProperty() re-entrant
Move the QHash as a const "magic static" into name2type(). This is
still lazily evaluated, but thread-safe now, making
createAnimatedProperty() re-entrant again.
As a drive-by, fix the double-lookup (contains()/value()) by using
find().
Amends 36a315d9cf3cafb62332dd00c3d17d0f2a096d90 (6.9).
Fixes: QTBUG-146132
Pick-to: 6.11
Change-Id: Id70ce68ebf7da7f611532843d26bd45850cc3dcd
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>