irc: fix duplicate sender name in display of wallops (closes #142, closes #145)
tests: fix compilation of tests

The header gui-curses.h doesn't need to be included (this causes an error
because the real ncurses lib header is not found when compiling tests).
api: fix function string_format_size on 32-bit systems