use generic datatypes for syscall hooks

this fixes compile for other archs