[coreboot-gerrit] Change in coreboot[master]: device: Move resource allocation into a separate compilation unit