[qtdeclarative] Avoid reentrancy issues with QQmlVME.