tweak construction of timeval/timespec2
get abi for test from syscall.abi
wrap reflect tests in require jit
fix undefined behaviour in definition