depends: disable unused bdb replication manager. Fixes new mingw builds

Should fix #5033. Untested though, because I can't reproduce with my version of mingw.

Newer mingw supports the features necessary to enable this api, whereas older
versions didn't. However once enabled (automatically by configure), it triggers
an unrelated build bug.

Since it was not enabled previously anyway, and we don't depend on the
functionality, just disable it across the board.