Why don't you use `flycheck-display-message-or-buffer` as default value of this variable?