No functional changes. This moves the function `update_autoflags_fcurve_direct` from the editors/animation section to blender/animrig. This is in an effort to remove the need for editor code in animrig. Also removes the include of editor code from fcurve.cc This was only used on a single line for a macro. Pull Request: https://projects.blender.org/blender/blender/pulls/116100