[coreboot-gerrit] Patch merged into coreboot/master: f0bdc15 cbfstool: elfheaders: use common checks and buffer helpers