[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.
You can declare a `buf_still_exists` boolean and check it after the loop instead of checking if `buf` is `NULL`.