Clean up syscall.c

Use a method syscall(Request* req) to call swi so we don't
have to force gcc to not optimize a get_request.