[PATCH AUTOSEL 6.18-5.10] powercap: fix sscanf() error return value handling