Wrap which-func-mode configuration in eval-after-load.