[Libguestfs] [PATCH 5/7] hivex: Move header checksum code into a function.