extract SSA/ASS: handle additional sections after [Event] in codec private

Fixes #1057.