meson: fix build without cpp toolchain
We don't need a cpp toolchain for building glib so lets just automatically disable tests requiring one when not available.
Edited by James Hilliard
We don't need a cpp toolchain for building glib so lets just automatically disable tests requiring one when not available.