xwayland: fix a realloc OOM error case

Found by coverity

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1 job for wip/coverity-fixes in 2 minutes and 57 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
passed #29348
job

00:02:57