Free the memory referred to by the git_buf.
Note that this does not free the git_buf itself, just the memory pointed to by buffer->ptr.
git_buf
buffer->ptr
The buffer to deallocate