maint.mk: catch more abuse of HAVE_DECL in syntax-check