sync-and-gyp script: fix to work in MSYS shell

NOTRY=true
TBR=scroggo@google.com

Review URL: https://codereview.chromium.org/1104613003
1 file changed