Delay requiring irb until runtime

Fixes #32410.