gi: support String as void * value for buffer