src/riemann-client.c: Mark a few more arguments unused

In case we're compiling without json-c, mark both arguments of
query_dump_event_json() as unused.

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