Use run-mode-hooks rather than run-hooks
As mentioned in the run-hooks docstring:
Major modes should not use this function directly to run their mode hook; they should use ‘run-mode-hooks’ instead.
In Emacs 30 this leads to font-lock-mode being disabled in these buffers.
Closes: #1074305