AR Rahman has iftar dinner at Cannes