On the shape of the giant resonance in deformed nuclei