systemd_logger: fix compilation with -Werror=format-security

Please backport to 2.0