user: nitpick for getlogin_r

Nadav corretly noted that we need ERANGE in this case.

Signed-off-by: Glauber Costa <glommer@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>