build: Fix str/bool comparison
The build was failing with,
meson.build:86:3:
ERROR: The ==
operator of str does not accept objects of type bool (True)
Backport patch from to fix the error, https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/commit/28e28e9e5983