FindQt4: set QT_VERSION_* variables sooner.

Set QT_VERSION_* variables sooner so they can be set before
Qt4ConfigDependentSettings.cmake uses them.
Merge topic 'qt4-version-openssl' into next

4b9ec00 FindQt4: set QT_VERSION_* variables sooner.