Have LeakDetector use a SmallPtrSet instead of an std::set.