fix a debug message, add printf-format-checking-gccism to ircdbg_log prototype