riemann: Do not crash without attributes() set

When using a riemann destination, do not crash when no attributes are
set.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
Merge pull request #321 from algernon/h/riemann/fix-no-attributes

riemann: Do not crash without attributes() set