emulation: Keep the incoming buffer on reset

https://bugzilla.gnome.org/show_bug.cgi?id=730760
(cherry picked from commit 9240ed8a65549300840aa15fc1580f6c350ae583)

Conflicts:
	src/vte.c