[PATCH 5.15 59/69] platform/mellanox: mlxbf-pmc: fix sscanf() error checking