avio: make get_checksum() internal.