sys: util: fix compilation with XCC

Xtensa XCC does not like C99 style declarations in for
loops.

Fixes: 268f9bf16339 ("nuvoton: battery-backed ram")
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
1 file changed