[coreboot-gerrit] Patch merged into coreboot/master: selfboot: Move the usable-RAM check into a function