Wrap the font-lock-fontify-buffer call with with-no-warnings.

font-lock-fontify-buffer is for interactive use only in Emacs >= 24.5.