lib: Remove sys_waitpid