Factor out SfxUInt16Item::dumpAsXml() from sw

Change-Id: Ia58bed9c4a0be4b909789e8bdcd64f06230c0f43