Windows: Fix CreateFile fails with ERROR_SHARING_VIOLATION

Bug #69597
Merge remote-tracking branch 'origin/poppler-0.24'
pdftocairo: check file opening failure in beginDocument()
Merge remote-tracking branch 'origin/poppler-0.24'