use the vte_terminal_spawn_sync wrapper

The vte_ptr_set_term function is gone, so there's no reason to create
the pty object manually.