Add support for PERL_MM_OPT in IO::Tty builder

RT 69477