mongodb: force libstdc++ in clang

Fixes #22771.