[coreboot-gerrit] Patch merged into coreboot/master: edid: Add helper function to calculate bits-per-pixel dependent values