xwayland/glamor-gbm: Handle DRM_FORMAT_MOD_INVALID gracefully

The compositor may send DRM_FORMAT_MOD_INVALID instead of a list of
modifiers for various reasons. Handle this gracefully by ignoring it.

Without this, if a compositor would send DRM_FORMAT_MOD_INVALID, it'd
result in empty windows provided by Xwayland.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
(cherry picked from commit edf96443)
3 jobs for mod-format-invalid-1-20 in 7 minutes and 51 seconds (queued for 1 second)
Status Job ID Name Coverage
  Docker Image
passed #1910645
debian-testing

00:00:51

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

00:06:59

passed #1910647
meson-build-and-test

00:01:42