Complex magnetic exchange coupling between co nanostructures and Ni(111) across epitaxial graphene