!UPSTREAM: Bug fix: resolve src and dst buffers when a blit is used for glCopyPixels().

TODO:

- Fold into an earlier patch.