gjoll_buf_t: replace char* data with void* data