Generalized Vaidya solutions and Misner-Sharp mass for n-dimensional massive gravity