Hurd: Fix setres[ug]id handling of -1