Just pass the BOOL flags directly to libgit2

The function only cares about zero/non-zero, which BOOLs conform to.