The Evolution of Galaxy Mass in Hierarchical Models