[composer] Use the old line placement algorithm for arrows created in versions prior to 2.4 (fix #10457)