remove Term::ReadKey dependencies

This perl module has been available on OS X as far back as 10.5.

Closes #29347.