[RFC] Minor buffer.c style cleanups

Just some minor cleanup. Feel free to ignore as needless churn. I think in particular adding the brackets to `FOR_ALL_TAB_WINDOWS` is useful though since it is very confusing to read otherwise.
You could add some more curly braces here.