Alfvén solitons and generalized Darboux transformation for a variable-coefficient derivative nonlinear Schrödinger equation in an inhomogeneous plasma