make getservby*_r return error code rather than -1 (and using errno)