Static and dynamical magnetic properties of the extended Kitaev-Heisenberg model with spin vacancies