Link DiffPDF against libc++ for >= Mavericks

Fixes #24854