Fix FTBFS with GCC -Werror=format-security

This commit will fix the FTBFS issue with -Werror=format-security enabled.

Details: https://fedoraproject.org/wiki/Format-Security-FAQ