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).
Merge remote-tracking branch 'origin/1.12' into 1.14.0