[RFC] Add FOR_ALL_BUFFERS helper

There is `FOR_ALL_WINDOWS` and `FOR_ALL_TAB_WINDOWS` thought `FOR_ALL_BUFFERS` might be handy as well.
This variable is used below in some stuff. Moved it down as far as I could.