opt_ffinv: Use ModIndex instead of ModWalker.
opt_ffinv: Use ModIndex instead of ModWalker.

This avoids using out-of-data index information.

YosysHQ/yosys,YosysHQ/yosys,YosysHQ/yosys,YosysHQ/yosys,YosysHQ/yosys,YosysHQ/yosys,YosysHQ/yosys,YosysHQ/yosys