[coreboot-gerrit] [M] Change in coreboot[master]: amdfwtool: Move the filling of table headers into functions