irssi: restore perl

Replaces perl functionality; adds fix to avoid picking up perl
destinations outside of Homebrew's prefix if a user has set PERL_MM_OPT
like CPAN suggests.

Discussion in #34685; resolves #34770; partially reverts ca09a39 from
irssi: reset sysconfdir to etc

Keep sysconfdir set to etc to avoid losing existing user configuration. sysconfdir was changed in ca09a39.

Closes #34818.
irssi: update 0.8.17_2 bottle.