Global Magnetohydrodynamic Waves in Stably Stratified Rotating Layers