Barra received $29.1 million in total compensation during her eighth year leading the automaker.