irc/irssi: fix build on GCC architectures
../src/core/misc.c:101: error: #pragma GCC diagnostic not allowed inside functions