[coreboot-gerrit] [S] Change in coreboot[main]: ec/starlabs/merlin/battery: Check values are valid before using them