Open options: only validate them if the driver has first identified the file
Add CPLErrorSetState()
PDF: turn configuration options into open options