Clean up buffer->swap_buffers() calls

That function checks for buffer->successful already.  No need
to check at call site.
10 files changed