lavf/assenc: handle extra sections after Events