[RFC] Convert FOR_ALL_WINDOWS to use a locally declared pointer

See https://github.com/neovim/neovim/pull/1096/files#r16623645