bson: grow the bson_reader_t buffer if the document is too large.