[latex-mode] Fix integration with auctex

Auctex sets major mode to `latex-mode` not `LaTeX-mode`. The old code therefore didn't properly add custom expansions to auctex.