xwayland: clear pixmaps after creation in rootless mode

When a pixmap is created with a backing FBO, the FBO should be cleared
to avoid rendering uninitialized memory. This could happen when the
pixmap is rendered without being filled in its entirety.

One example is when a top-level window without a background is
resized. The pixmap would be reallocated to prepare for more pixels,
but uninitialized memory would be rendered in the resize offset until
the client sends a frame that fills these additional pixels.

Another example is when a new top-level window is created without a
background. Uninitialized memory would be rendered after the pixmap is
allocated and before the client sends its first frame.

This issue is only apparent in OpenGL implementations that don't zero
the VRAM of allocated buffers by default, such as RadeonSI.

Signed-off-by: Dor Askayo <dor.askayo@gmail.com>
Closes: xorg/xserver#636
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
(cherry picked from commit 0e9a0c20)

[ Michel Dänzer:
* Squashed in commit ebf549db
* Dropped code related to glamor_format, which only exists on master ]
3 jobs for server-1.20-branch in 5 minutes and 18 seconds (queued for 1 second)
Status Job ID Name Coverage
  Docker Image
passed #1704452
debian-testing

00:00:30

 
  Build And Test
passed #1704453
autotools-build-and-test

00:04:48

passed #1704454
meson-build-and-test

00:02:11