assume the declare-function macro exists

It was added in Emacs 23.1 (five years ago) and for some reason the
byte-compiler complains about the value of (fboundp 'declare-function)
not being used if we keep that test.