commit-graph write: don't die if the existing graph is corrupt