Added function `bson_init_finished_data_size` with size check for buffer

This function is necessary when reading BSON object from *external* source, for example, from network datagram.