[Fix #749] Make font-locking compatible with font-lock-mode

See https://github.com/jlr/rainbow-delimiters/issues/33 for details.