avidec: correct frame_offset for seeking