Discreteness effects in the kink scattering by a mass impurity