Add missing header for syscall().

This is cunningly not defined in syscall.h

(cherry picked from commit 3df3a5b645737603af6bda844db04c431b9c8064)
Add missing header for _exit()

Fixes #4188

(cherry picked from commit acfc7e6d2196f9ecb080b5405cd78066734bbc39)