This patch adds test support for the externally-threaded libcxxabi variant introduced in D27204.
Unfortunately, some cross-wiring (in the cmake files) is necessary to get the test suite to work.
Perhaps we should make it such that, when building either of the libraries (libcxx or libcxxabi) in the externally-threaded configuration, the other library is always assumed to be built in the same configuration.