!UPSTREAM: Bug fix: don't make MCS buffer for non-renderable formats

TODO:

- Fold into an earlier patch.
!UPSTREAM: Bug fix: preserve buffer contents when allocating buffers for windows from X server

TODO:

- Fold into an earlier patch.