Split some parts of ass_render_event into functions
Split some parts of ass_render_event into functions

The split doesn't necessarily follow any logic; for the most part
it just moves each processing loop into its own function.

pigoz/libass-ct,stps/libass,astiob/libass,sanyaade-g2g-repos/libass,torque/libass,xbmc/libass,xbmc/libass,mwgoldsmith/libass,ShiftMediaProject/libass,ShiftMediaProject/libass,sanyaade-g2g-repos/libass,Akemi/libass,libass/libass,grigorig/libass,torque/libass,libass/libass,torque/libass,stps/libass,grigorig/libass,astiob/libass,pigoz/libass-ct,stps/libass,MrSmile/libass,mwgoldsmith/libass,mwgoldsmith/libass,Akemi/libass,pigoz/libass-ct,Akemi/libass,sanyaade-g2g-repos/libass,MrSmile/libass