fix #19817 Crash on loading a file with incomplete slur spanner and linke...

...d part