Optimize startup time of Emacs

Replace `locate-library' by `with-eval-after-load' (of the autoloads file).