[coreboot-gerrit] New patch to review for coreboot: buildgcc: Move a bunch of code into a function