Change ilmbase/openexr cmake modules to automatically extract version string from
their respective Config.h file. Complexifies a bit the code, but works.

Note old versions of OpenEXR (like my system-package-installed 1.6) do not have any
version info in those header files, just assuming "2.0" in this case seems to work fine.