gmsh: remove trailing whitespace