commit-graph: check mixed generation validation when loading chain file