Implement error callbacks in Stdio.Fd et al.
In April 2004 the backend(s) got support for signalling error conditions on a dedicated callback PIKE_FD_ERROR
, but no way to add such a callback was added to Stdio.Fd
, so everything uses the "temporary compat stuff".
Add analogous functions to set_read_callback()
et al for handling the error callback.