[RDY] Convert FOR_ALL_WINDOWS to use a locally declared pointer

This is actually not a place to use `FOR_ALL_WINDOWS`. Notice that it is iterating over the windows in a tab.

In my other pull I assume this has been replaced with `FOR_ALL_WINDOWS_IN_TAB`