contrib: install_db4: fix for MacOS
contrib: install_db4: fix for MacOS

Rationale:
    configure for bdb fails detecting a mutex implementation when
    -Wno-error=implicit-function-declaration is not present on MacOS.
    This was fixed for depends in 7c20fc93d94155bf873bea10142ed525562b9fc3.

caraka/gridcoinresearch,caraka/gridcoinresearch,caraka/gridcoinresearch,caraka/gridcoinresearch,caraka/gridcoinresearch,caraka/gridcoinresearch