[Fix #924] Ensure buffer local variable is not cleared by mode change.

Fixes [#924](https://github.com/clojure-emacs/cider/issues/924)

Buffer local variable when creating a new popup buffer will not be cleared by major modes.