This is a follow up to 8fecc2a8525467ee2fbbaae16ddbbc10b3050d46.
This makes sure future .blend files that have more channels than the
limit won't break Blender.
It can be partially backported to LTS as P2442.
This is part of https://developer.blender.org/D12645