packfile: compute and use the index CRC offset