Magnetic Moments Induced by Atomic Vacancies in Transition Metal Dichalcogenide Flakes