This fixes T74292, where moving a mask transform keyframe in the dopesheet didn't reflect in the animation.
I removed some special casing for the ANIMCONT_MASK category, and ensured the ANIM_list_elem_update() function is also called for Mask animation data. Unfortunately, there were no comments that explained why mask animation was excluded.
Asking for review by @Campbell Barton (campbellbarton) as conceptually it's a change in his code from 6 years ago (rB193e77cc673e6836525ab1a0bad0ff5491e04d23).
To test:
- Play the animation once to see how it looks.
- Move the middle (selected) keyframe towards frame 30.
- Play the animation again and see it doesn't change (unless you already applied this patch, then it nicely updates).