oggenc: Assign serial numbers from a unique counter per context.

The spec states that the serial numbers must only be unique inside
a full bitstream. The counter approach keeps everything unique.
WIP on ogg. Needs more help.