hw/riscv: opentitan: Fixup local variables shadowing