Nonlinear coupling of MHD waves in inhomogeneous steady flows