The effect of the single-spin defect on the stability of the in-plane vortex state in 2D magnetic nanodots