Modified the gen_hooks.ps1 script to resolve the used system calls given an arch-specific unistd.h and the generic and arch-specific syscalls.h files