daemon: Replace snprintf() with g_strdup_printf() in journal code

To avoid holding formatting strings in stack buffers

Fixes #666
Closes #693

Reviewed-by: Stef Walter <stefw@redhat.com>