flashrom: Fix one dead increment and one dead assignment as found by clang.