signal: sys_rt_sigtimedwait: simplify the timeout logic