erp5_svg_editor: force removal of extra attributes

Otherwise, a weird behaviour is observed with compound attributes (eg.
`xmlns:inkscape`), where the second part of the attribute is replaced by
`undefined`, giving a wrong SVG file when there are multiple attributes
(duplicate attribute).
5 jobs for master
in 0 seconds, using 0 compute credits, and was queued for 0 seconds