libtiled-java: Do not output width and height for ObjectGroup when writing TMX files.

Since width and height of ObjectGroup is deprecated, we should not output them when writing TMX files using TMXFileWriter.

This patch changes the TMXFileWriter so that width/height of a MapLayer is only written if they contain an actual value (which ObjectGroup objects do not).