[qtdeclarative] Fix potential renderloop lockup and a crash with repeaters.