Debugger/Python dumper: Fix checkRef() for Qt 5.
Debugger/Python dumper: Fix checkRef() for Qt 5.

See http://codereview.qt-project.org/4533
(1173d0420e341dc6d38c89e5bc4295a57da7ea74 in qtbase)

Change-Id: I13d249c592b2607ee96c2feacbaefb73dd926867
Reviewed-on: http://codereview.qt-project.org/6324
Sanity-Review: Qt Sanity Bot <5581206bb7e0307f0d99eb71898ae6b694149ca5@ovi.com>
Reviewed-by: hjk <6fac1c92f5b9c7890a04d7f8a9d8912d16355eac@ovi.com>

azat/qtcreator,maui-packages/qt-creator,bakaiadam/collaborative_qt_creator,bakaiadam/collaborative_qt_creator,KDAB/KDAB-Creator,kuba1/qtcreator,colede/qtcreator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,Distrotech/qtcreator,duythanhphan/qt-creator,syntheticpp/qt-creator,xianian/qt-creator,darksylinc/qt-creator,richardmg/qtcreator,darksylinc/qt-creator,KDAB/KDAB-Creator,xianian/qt-creator,ostash/qt-creator-i18n-uk,KDE/android-qt-creator,azat/qtcreator,KDAB/KDAB-Creator,maui-packages/qt-creator,ostash/qt-creator-i18n-uk,xianian/qt-creator,maui-packages/qt-creator,amyvmiwei/qt-creator,darksylinc/qt-creator,colede/qtcreator,hdweiss/qt-creator-visualizer,syntheticpp/qt-creator,xianian/qt-creator,KDE/android-qt-creator,ostash/qt-creator-i18n-uk,martyone/sailfish-qtcreator,bakaiadam/collaborative_qt_creator,AltarBeastiful/qt-creator,jonnor/qt-creator,KDAB/KDAB-Creator,colede/qtcreator,bakaiadam/collaborative_qt_creator,KDE/android-qt-creator,ostash/qt-creator-i18n-uk,kuba1/qtcreator,Distrotech/qtcreator,maui-packages/qt-creator,omniacreator/qtcreator,xianian/qt-creator,malikcjm/qtcreator,bakaiadam/collaborative_qt_creator,farseerri/git_code,maui-packages/qt-creator,syntheticpp/qt-creator,jonnor/qt-creator,malikcjm/qtcreator,danimo/qt-creator,richardmg/qtcreator,jonnor/qt-creator,omniacreator/qtcreator,richardmg/qtcreator,kuba1/qtcreator,darksylinc/qt-creator,kuba1/qtcreator,duythanhphan/qt-creator,malikcjm/qtcreator,colede/qtcreator,KDE/android-qt-creator,danimo/qt-creator,hdweiss/qt-creator-visualizer,jonnor/qt-creator,bakaiadam/collaborative_qt_creator,farseerri/git_code,danimo/qt-creator,Distrotech/qtcreator,amyvmiwei/qt-creator,farseerri/git_code,danimo/qt-creator,kuba1/qtcreator,martyone/sailfish-qtcreator,Distrotech/qtcreator,jonnor/qt-creator,duythanhphan/qt-creator,syntheticpp/qt-creator,amyvmiwei/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,malikcjm/qtcreator,AltarBeastiful/qt-creator,danimo/qt-creator,syntheticpp/qt-creator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,richardmg/qtcreator,amyvmiwei/qt-creator,amyvmiwei/qt-creator,KDE/android-qt-creator,AltarBeastiful/qt-creator,duythanhphan/qt-creator,hdweiss/qt-creator-visualizer,KDE/android-qt-creator,Distrotech/qtcreator,darksylinc/qt-creator,omniacreator/qtcreator,omniacreator/qtcreator,richardmg/qtcreator,AltarBeastiful/qt-creator,danimo/qt-creator,KDE/android-qt-creator,AltarBeastiful/qt-creator,xianian/qt-creator,kuba1/qtcreator,KDAB/KDAB-Creator,colede/qtcreator,darksylinc/qt-creator,kuba1/qtcreator,amyvmiwei/qt-creator,xianian/qt-creator,KDE/android-qt-creator,ostash/qt-creator-i18n-uk,duythanhphan/qt-creator,richardmg/qtcreator,maui-packages/qt-creator,farseerri/git_code,ostash/qt-creator-i18n-uk,hdweiss/qt-creator-visualizer,malikcjm/qtcreator,AltarBeastiful/qt-creator,farseerri/git_code,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,azat/qtcreator,KDAB/KDAB-Creator,syntheticpp/qt-creator,maui-packages/qt-creator,hdweiss/qt-creator-visualizer,malikcjm/qtcreator,Distrotech/qtcreator,AltarBeastiful/qt-creator,farseerri/git_code,omniacreator/qtcreator,bakaiadam/collaborative_qt_creator,martyone/sailfish-qtcreator,ostash/qt-creator-i18n-uk,omniacreator/qtcreator,xianian/qt-creator,darksylinc/qt-creator,omniacreator/qtcreator,Distrotech/qtcreator,martyone/sailfish-qtcreator,colede/qtcreator,azat/qtcreator,azat/qtcreator,colede/qtcreator,kuba1/qtcreator,richardmg/qtcreator,duythanhphan/qt-creator,danimo/qt-creator,AltarBeastiful/qt-creator,darksylinc/qt-creator,xianian/qt-creator,farseerri/git_code,jonnor/qt-creator,azat/qtcreator,farseerri/git_code,danimo/qt-creator,duythanhphan/qt-creator,syntheticpp/qt-creator,hdweiss/qt-creator-visualizer,kuba1/qtcreator,malikcjm/qtcreator