[GHC] #9239: Program loops in syscall retries cancelled by rt_sigreturn signal