On the maxima of heterogeneous gamma variables