This commit originally was to port ostree_stat_and_checksum_file() to GFile*, but I noticed that the checksum code was reading data in host endianness. Fix that while we're here. This invalidates all existing repositories.