mongodb: add patch for clang failure.

Closes #22696.
Add cppi 1.18 (new formula)

It is needed to run 'make syntax-check' of libvirt.