Don't strcmp a git_buf, strcmp its char *

MSVC gets all crashy when you do that.