tools: ftdgrep: correct the find regions loop in do_fdtgrep