Evolution of film curvature profile during light-emitting diode epitaxial growth