Acoustic radiation from a thin airfoil in nonuniform subsonic flows