[coreboot-gerrit] New patch to review for coreboot: selfboot: Move the usable-RAM check into a function