[PATCH 5.10 124/575] power: supply: max17042_battery: Prevent int underflow in set_soc_threshold