cmake: add/move HAVE_ options into BOOLEAN section to fix comparing issues

how to reproduce:
1. build dbus with autotools
2. in the dbus-bus build dir run
   gcc -dM -E config.h | sort > autotools-config.h.log
3. build with cmake
4. in the build dir run
   gcc -dM -E config.h | sort > cmake-config.h.log
5. compare both files
13 jobs for 117-which-features in 15 minutes and 26 seconds (queued for 36 minutes and 22 seconds)
latest
Name Stage Failure
failed
windows-cmake-vs15 Build
 
NOTE: building with unit tests increases the size of the installed library and renders it insecure.
NOTE: building with assertions increases library size and decreases performance.

-- Configuring incomplete, errors occurred!
See also "C:/builds/rhabacker/dbus/build/CMakeFiles/CMakeOutput.log".
See also "C:/builds/rhabacker/dbus/build/CMakeFiles/CMakeError.log".
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
cmake Build
/builds/rhabacker/dbus/dbus-1.14.99/dbus/dbus-file.h:47: warning: argument 'world_readable' from the argument list of _dbus_string_save_to_file has multiple @param documentation sections
/builds/rhabacker/dbus/dbus-1.14.99/dbus/dbus-file.h:47: warning: argument 'error' from the argument list of _dbus_string_save_to_file has multiple @param documentation sections
cd /builds/rhabacker/dbus/dbus-1.14.99/ci-build-production-native/doc && /usr/bin/cmake -E touch /builds/rhabacker/dbus/dbus-1.14.99/ci-build-production-native/doc/doxygen.stamp
make[2]: Leaving directory '/builds/rhabacker/dbus/dbus-1.14.99/ci-build-production-native'
[ 2%] Built target apidoc
make[1]: Leaving directory '/builds/rhabacker/dbus/dbus-1.14.99/ci-build-production-native'
make: *** [Makefile:185: all] Error 2
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
x86_64-w64-mingw32-cmake-debug Build
/usr/bin/cmake -E rm -f CMakeFiles/test-segfault.dir/objects.a
/usr/bin/x86_64-w64-mingw32-ar cr CMakeFiles/test-segfault.dir/objects.a @CMakeFiles/test-segfault.dir/objects1.rsp
/usr/bin/x86_64-w64-mingw32-gcc -fno-common -Wall -Warray-bounds -Wcast-align -Wchar-subscripts -Wdeclaration-after-statement -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Wfloat-equal -Wformat-nonliteral -Wformat-security -Wformat=2 -Wimplicit-function-declaration -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wno-error=missing-field-initializers -Wno-error=unused-label -Wno-error=unused-parameter -Wno-missing-field-initializers -Wno-unused-label -Wno-unused-parameter -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wpointer-sign -Wredundant-decls -Wrestrict -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wunused-but-set-variable -Wwrite-strings -Werror -Wno-error=overloaded-virtual -Wno-error=missing-field-initializers -Wno-error=unused-parameter -Wno-unused-parameter -gstabs -static-libgcc -Wl,--whole-archive CMakeFiles/test-segfault.dir/objects.a -Wl,--no-whole-archive -o ../bin/test-segfault.exe -Wl,--out-implib,../lib/libtest-segfault.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles/test-segfault.dir/linklibs.rsp
make[2]: Leaving directory '/builds/rhabacker/dbus/ci-build-debug-x86_64-w64-mingw32'
[ 1%] Built target test-segfault
make[1]: Leaving directory '/builds/rhabacker/dbus/ci-build-debug-x86_64-w64-mingw32'
make: *** [Makefile:185: all] Error 2
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
windows-cmake-mingw-ucrt64 Build
NOTE: building with unit tests increases the size of the installed library and renders it insecure.
NOTE: building with verbose mode increases library size, may slightly increase security risk, and decreases performance.
NOTE: building with assertions increases library size and decreases performance.

-- Configuring incomplete, errors occurred!
See also "C:/builds/rhabacker/dbus/build/CMakeFiles/CMakeOutput.log".
See also "C:/builds/rhabacker/dbus/build/CMakeFiles/CMakeError.log".
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1