irc: fix duplicate nick completion when someone rejoins the channel with same nick but a different case (bug #38841)