[coreboot-gerrit] Change in coreboot[master]: amdfwtool: Null check the pointers before using them