Tunable Kondo effect in graphene with defects