riemann: Use scratch-buffers instead of an object-local GString

This way, the string can be reused in other modules in the same thread,
once the riemann destination is done with it.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>