Bug 855178. Use WaitSync instead of ClientWaitSync in SharedSurfaceGL. r=jgilbert

This is better than waiting/spinning. WaitSync will make the GPU do the
waiting for us and we can continue on.