build: Fix search for brew-installed BDB 4 on OS X
build: Fix search for brew-installed BDB 4 on OS X

On OS X, when searching Homebrew keg-only packages for BDB 4.8, if we find it,
use BDB_CPPFLAGS and BDB_LIBS instead of CFLAGS and LIBS for the result. This
is (1) more correct, and (2) necessary in order to give this location
priority over other directories in the include search path, which may include
system include directories with other versions of BDB.

ElementsProject/elements,ElementsProject/elements,ElementsProject/elements,ElementsProject/elements,ElementsProject/elements,ElementsProject/elements