[coreboot-gerrit] Change in coreboot[master]: soc/amd: factor out _SOC_DEV macro into common block