os, syscall: Hurd fixes for a couple of tests

Based on patch by Svante Signell.

Change-Id: Id2bbb765f7b3bf1482af956804b5799901c24cc9
Reviewed-on: https://go-review.googlesource.com/c/161520
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2 files changed