Add waitid syscall support.