In `BKE_action.hh`, update the Action Group related functions, so that either they are legacy-only or can handle layered Actions as well. Legacy-only functions not only are documented as such, but also assert that the given Action is a legacy one. No functional changes for legacy Actions. Ref: #123424 Pull Request: https://projects.blender.org/blender/blender/pulls/128088