Semilinear equations, the $γ_k$ function, and generalized Gauduchon metrics