Use realloc for POD in u::buffer