build: define BSON_CFLAGS and BSON_LIBS at configure time.

When using the bundled copy of libbson, we were defining BSON_CFLAGS
and BSON_LIBS in Makefile.am. This is less than ideal because it means
they get defined at two difference locations.

This patch defines them at configure time just like pkg-config would.