(getlogin_r): Don't set errno to 0 on return.