[Modules] Move the LeakDetector header into the IR library where the