Rarefied gas flows through a curved channel: Application of a diffusion-type equation