Improved by scanning all chord notes and factoring some common computations.
Merge branch 'Fix_21190_bis' into Fix_21190_whole_notes_ledger_lines

Conflicts:
	libmscore/chord.cpp