[coreboot-gerrit] Change in coreboot[master]: AGESA: Refactor S3 support functions