[coreboot-gerrit] Change in coreboot[master]: src/mainboard: Add null pointer check