Fix `defvar' is called with quoted arguments.

In a couple of places, defvar was passed quoted symbols instead of
symbols themselves, which caused flycheck-mode to fail when started
within an Emacs lisp buffer.