fix #23883: create segments for chord symbols

When adding a chord symbol to a staff in a score with a linked part,
create a new segment for the chord symbol in the linked part if
necessary.