fix #25939: layout of chordline & gliss in tab staff

Code synchronized with changes in layoutPitched