emulation: Make OSC response use the same terminator as the query

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