Fix crash in RecordWriter::Pos() when parallelism is used and RecordWriter is closed.
Fix crash in RecordWriter::Pos() when parallelism is used and
RecordWriter is closed.

PiperOrigin-RevId: 220428600

google/riegeli,google/riegeli,google/riegeli,google/riegeli