tiledb_query_create_buffer_ptr function

Allocate and populate a Query buffer for a given object of a given data type.