[coreboot-gerrit] [M] Change in coreboot[main]: Makefile.inc: Add a common link_stage function and use it