Support conditional generate syscall for gensyscalls.py