[coreboot-gerrit] [M] Change in coreboot[master]: resource: Add helpers for memory resources