ModuleLoader: Fix access to temporary object
ModuleLoader: Fix access to temporary object

Change-Id: I91a902a438a7fd014f518c351b19d617af1f4707
Reviewed-by: Jake Petroules <2d627e1cecd5435752fa500bacbe05f7cc90c369@qt.io>
Reviewed-by: Joerg Bornemann <47777b9406dbddd02a3fdca8341789a013805a11@qt.io>

qtproject/qt-labs-qbs,qtproject/qt-labs-qbs,qtproject/qt-labs-qbs,qt-labs/qbs,qtproject/qt-labs-qbs,qt-labs/qbs,qt-labs/qbs,qtproject/qt-labs-qbs,qtproject/qt-labs-qbs,qtproject/qt-labs-qbs,qt-labs/qbs,qt-labs/qbs,qt-labs/qbs,qt-labs/qbs