An extended thermodynamic description of mass diffusion in elastic solids