MFC r294691:
Fix readpassphrase(3) when it's called with stdin being closed.
Approved by: re (delphij)