bson: allow stack allocations of bson_t.