[coreboot-gerrit] [S] Change in coreboot[24.02_branch]: genbuild_h: Fix and harden major/minor version parsing