fix build with -Werror=format-security

this is a fix when Hercules is built with -Werror=format-security,
see https://fedoraproject.org/wiki/Format-Security-FAQ for more
information

Dan