native: add missing syscall declarations

* add some missing declarations
* rename shutdown to native_shutdown (shutdown exists) and make it static