[josm_commandline] fix #josm8442 - OSM objects parameter via stdin are not XML since 2 XML documents

git-svn-id: http://svn.openstreetmap.org/applications/editors/josm/plugins@29273 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4