PR20228: don't retain a pointer to a vector element after the container has been resized.
Build libcxx-tsan only if TSan is supported on host architecture