fast-import: use hashcmp() for SHA1 hash comparison