[coreboot-gerrit] Patch merged into coreboot/master: cbfstool: Fix off-by-one error in checking hash_type