Introduce staging extension to link to system libreadline.

[Fixes #75199948]