git-am: fix detection of absolute paths for windows