[coreboot-gerrit] Patch set updated for coreboot: buildgcc: Move a bunch of code into a function