runtime: use absolute time for sem_timedwait

Patch by Samuel Thibault.

Fixes https://gcc.gnu.org/PR92861

Change-Id: I7008f47b2cf7c71c4ba5548d5ca2f71c0dba350d
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/210457
Reviewed-by: Ian Lance Taylor <iant@golang.org>
1 file changed