ModuleLoader: Fix compiler warning
ModuleLoader: Fix compiler warning

Recent GCC warnings emitted a warning about an unneeded copy in a
template.
Fix this by using std::forward().

Change-Id: I9b52c10d19a09c169d7d354aa6b79c51874f74e9
Reviewed-by: Joerg Bornemann <47777b9406dbddd02a3fdca8341789a013805a11@qt.io>

qtproject/qt-labs-qbs,qt-labs/qbs,qtproject/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,qtproject/qt-labs-qbs,qt-labs/qbs,qt-labs/qbs,qtproject/qt-labs-qbs