runtime: add rtio_replace syscall