Office gossip is unprofessional for anyone, but if a manager indulges, it can damage his or her effectiveness as a leader.