x86/entry: Move max syscall number calculation to syscallhdr.sh