diffcore-rename.c: use new hash map implementation