flashrom.c: Declare loop index outside of `for`

Right now it's still needed to compile everywhere (where we test).

Change-Id: Ie303d35c83dbc08e4a1d8686e38c8ee4988a0144
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/flashrom-stable/+/72556
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
1 file changed