Make `highlight-defined-mode' ignore advices.