linux: Fix tst-syscall-restart.c on old gcc (BZ 32283)