xfree86: Change displays array to pointers array to fix invalid pointer issues...

xfree86: Change displays array to pointers array to fix invalid pointer issues after table reallocation

There are rare cases when xf86SetDepthBpp is resizing displays array in confScreen.
As that array is shared between set of ScrnInfoRec's then realloc might invalidate chached DispPtr display values in
otheres ScrnInfoRec objects.

If we will change displays array as an array of pointers to DispRec then cached DispRec pointers in ScrnInfoRec
won't be invalid after reallocation of displays array.

Signed-off-by: Łukasz Spintzyk <lukasz.spintzyk@synaptics.com>
(cherry picked from commit f8a6be04)
3 jobs for branch-1.20/fix_910_port in 8 minutes and 25 seconds (queued for 2 seconds)
Status Name Job ID Coverage
  Docker Image
passed debian-testing #10885116

00:00:23

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

00:08:02

passed meson-build-and-test #10885118

00:01:29