[qtdeclarative] Clear text node references after sub-tree has been cleaned up.