tests: make bson_eq_bson a macro to squash inline warnings.