Satisfy the texinfo dependency using a sub-formula.

The latest TexInfo version (5.0) breaks LilyPond when brewing with the documentation option. The issue has been acknowledged upstream but, until it is fixed, the only workaround is to satisfy the requirement with an older version of Texinfo. See discussion with @jacknagel in #20986.