xv65: env; move arg syscalls from testsys.c to sys.c