Make flycheck-buffer-saved-p available at compile time

Required for compile time verification of syntax checker declarations

Regression from ec7b24d1dfb0e1fcd224b8801fc4eeb13fb7198f