[HERCULES] Corrected several format-string errors through the code
- Functions that expect a printf-style format string are now marked as
  such, so that gcc/clang will emit a warning warn you if you mismatch
  format string and arguments.
https://github.com/HerculesWS/Hercules/commit/c45e3fa9793a273a0eab40d1626bcda7d710552c#