client: Fix C compilation of cl_irc.c
qcommon: Fix part of the C+ compilation