As reported in https://llvm.org/bugs/show_bug.cgi?id=25496, on FreeBSD,
C++ programs compiled for profiling (using -pg) should be linked with
-lc++_p (or -lstdc++_p, depending on the -stdlib= setting), not
with the regular C++ libraries.
Add a FreeBSD::AddCXXStdlibLibArgs() override to handle this, and add
a test case for it.
This review is intended to replace D16102.