In my experience, people like the person you talked about think that they are doing everyone a favor by "telling them the things that no one else has the guts tell them." It usually only takes a time or two of pointing out to them that they are really doing more harm than good and no one is better off for their advice to get them to stop. It's especially effective to you catch them doing it and point it out to them just at that moment.