[coreboot-gerrit] Change in coreboot[master]: soc/intel/{common, apollolake}: Add checks to handle negative values