add infrastructure to generically free arguments post syscall

For now, just used by the iovec alloc.