os: align siginfo argument to waitid