xfree86: Fix NULL pointer dereference crash

screenp->displays[count] (passed to configDisplay() in
configScreen()) is NULL if there is no Virtual setting
in the configuration.

Fixes: f8a6be04 ("xfree86: Change
displays array to pointers array to fix invalid pointer issues
after table reallocation")

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
(cherry picked from commit ef89b664)
3 jobs for fix-crash-if-no-virtual-1.20 in 5 minutes and 9 seconds (queued for 10 seconds)
Status Job ID Name Coverage
  Docker Image
passed debian-testing #11316650

00:00:16

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

00:04:52

passed meson-build-and-test #11316652

00:01:27