present: fallback get_crtc to return crtc belonging to screen with present extension

Since crtc can belong to secondary output that may not have present
extension enabled we should fallback to first enabled crtc or fake crtc.

Fix for issue xorg/xserver#1195
5 jobs for issue1195_fix in 1 minute and 33 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Docker Image
passed debian-buster #11963493

00:00:11

 
  Build And Test
canceled autotools #11963494

00:01:21

failed meson #11963495

00:00:52

failed meson-noglamor #11963496

00:00:55

passed mingw-cross-build #11963497

00:00:53

 
Name Stage Failure
failed
meson Build And Test
files in cache                     89691
cache size 4.5 GB
max cache size 5.0 GB
Uploading artifacts for failed job
Uploading artifacts...
WARNING: build/test/piglit-results/: no matching files
ERROR: No files to upload
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
meson-noglamor Build And Test
files in cache                     85721
cache size 4.5 GB
max cache size 5.0 GB
Uploading artifacts for failed job
Uploading artifacts...
WARNING: build/test/piglit-results/: no matching files
ERROR: No files to upload
Cleaning up file based variables
ERROR: Job failed: exit code 1