Cosmetics: reorder function definitions to match declarations.
Cosmetics: reorder function definitions to match declarations.

PiperOrigin-RevId: 416529959

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