Versit: Fix a crash with older versions of gcc.
Versit: Fix a crash with older versions of gcc.

The code in question relies on the fact that binding a temporary to
this const reference should extend the temporary's lifetime to the
lifetime of the reference. However, this seems not to work correctly
with older versions of gcc: it fails with gcc 4.2.4 and works fine
with gcc 4.4.5.

Done-with: Niels Weber

KDE/android-qt-mobility,kaltsi/qt-mobility,KDE/android-qt-mobility,enthought/qt-mobility,qtproject/qt-mobility,qtproject/qt-mobility,kaltsi/qt-mobility,qtproject/qt-mobility,KDE/android-qt-mobility,enthought/qt-mobility,kaltsi/qt-mobility,KDE/android-qt-mobility,enthought/qt-mobility,kaltsi/qt-mobility,tmcguire/qt-mobility,enthought/qt-mobility,kaltsi/qt-mobility,qtproject/qt-mobility,enthought/qt-mobility,qtproject/qt-mobility,qtproject/qt-mobility,tmcguire/qt-mobility,kaltsi/qt-mobility,tmcguire/qt-mobility,enthought/qt-mobility,tmcguire/qt-mobility,tmcguire/qt-mobility