GraphiteWriter: Fix malformatted integer values

fixes #6756

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>