present: get_crtc should not return crtc when its screen does not have 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 2 minutes and 53 seconds (queued for 4 seconds)
Status Name Job ID Coverage
  Docker Image
passed debian-buster #11963486

00:00:10

 
  Build And Test
canceled autotools #11963487

00:02:42

failed meson #11963488

00:01:07

failed meson-noglamor #11963489

00:01:05

passed mingw-cross-build #11963490

00:00:51

 
Name Stage Failure
failed
meson-noglamor Build And Test
files in cache                     85676
cache size 4.4 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 Build And Test
files in cache                     90329
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