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).
Status Job ID Name Coverage
  External
failed ERP5.Master.UnitTest-Titouan.TestRunner.Pig

07:50:13

failed ERP5.Master.UnitTest-Titouan.TestRunner.Pig

10:23:14

failed ERP5.Master.UnitTest-Titouan.TestRunner.Pig

09:09:27

failed ERP5.Master.UnitTest-Titouan.TestRunner.Pig

04:13:47

failed ERP5.Master.UnitTest-Titouan.TestRunner.Pig

failed ERP5.Master.UnitTest-Titouan.TestRunner.Pig

01:14:33

failed ERP5.Master.UnitTest-Titouan.TestRunner.Pig

33:48:07

failed ERP5.Master.UnitTest-Titouan.TestRunner.Pig

12:59:49

passed ERP5.Master.UnitTest-Titouan.TestRunner.Pig

08:39:27