On the averaging principle for stochastic delay differential equations with jumps