[flashrom] [PATCH 1/4] layout: Add a method to cleanup layout data structures.