Fix for Bug NMS-6895

The XML Collector can't save counter metrics on RRDs (using RRDtool).

RRDtool is sensitive when parsing update requests. A valid value for
counters must be a plain integer (positive number without floating
point).