xcmd: include stdlib.h instead of sys/wait.h for WEXITSTATUS (#!43)

sys/wait.h is not available on Windows.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>