Fix uv_buf_t allocations