emulation: Fix crash in restore-cursor without a preceding save-cursor

https://bugzilla.gnome.org/show_bug.cgi?id=741193