Fix syscall numbers and conventions for lwp / mmap / etc.