refactors the syscall generation tool aiming to reduce code duplication for both the table based arches and the ones generated using a preprocessor.