git-am: fix absolute path logic on Windows