ass: move text_event_to_ass from textdec.c to ass.c and export it