Revert "Performance optimization in AnimationCurve"

This reverts commit 5ef585c29e5fb95d5ca312304406d6d0f2864b0c.
Keep QVector2d for Keyframes