readline: should not require an output stream.

Passing null as the output stream to readline.Interface's constructor is
now supported. Any output written by readline is just discarded. It
makes it easier to use readline just as a line parser.

Fix #4408
ditto.