emulation: Fix escape sequences of keypad Home and End

https://bugzilla.gnome.org/show_bug.cgi?id=600659#c63