QgsExpression: expression() return original string instead of dump()

Fix #10709