On the Shape of Pulse Spectra in Gamma-Ray Bursts