Fix #11: Implemented glk_cancel_char_event() and glk_cancel_line_event().