[coreboot-gerrit] Change in coreboot[master]: util/sconfig: Add helper function for allocating memory