Fix integer overflow in class total instance size.

This allows correct display and histogram sorting of the total instance
sizes that exceed 2G.