irssi: allow opting out of perl support

Closes #15389.