[coreboot-gerrit] Change in coreboot[master]: security/flash: Refactor flash protection logic