This is similar to the existing setting LIBCXX_ABI_DEFINES, with
the difference that this also allows setting other defines than
ones that start with "_LIBCPP_ABI_".
This allows avoiding using LIBCXX_TEST_COMPILER_FLAGS in two
CI configurations.
(Alternatively, we could loosen the requirement on LIBCXX_ABI_DEFINES
about what defines it can set.)