SVG utils: fix concatenation of multiple classes in style extraction