LibRsvg seems not apply the text-anchor attribute (middle, end) if a tspan child-element, except of the last one, has an absolute dimension (x/y) value.
This case seems very rare, if not a program like ChemDraw 12 would produce such code.
(As mentioned at https://commons.wikimedia.org/wiki/Commons:Graphics_village_pump#Problem_rendering_chemical_structures)
Upstream ticket: https://gitlab.gnome.org/GNOME/librsvg/-/issues/651