Magnetism induced by single carbon vacancies in a three-dimensional graphitic network