sync-and-gyp: Update shell script to correct the syntax of functions

R=halcanary@gmail.com

Review URL: https://codereview.chromium.org/1342543003 .
diff --git a/bin/sync-and-gyp b/bin/sync-and-gyp
index eb0311a..3a0851b 100755
--- a/bin/sync-and-gyp
+++ b/bin/sync-and-gyp
@@ -37,9 +37,9 @@
     git config sync-deps.last "$(git hash-object DEPS)"
 fi
 
-function catifexists() { if [ -f "$1" ]; then cat "$1"; fi; }
+catifexists() { if [ -f "$1" ]; then cat "$1"; fi; }
 
-function gyp_hasher() {
+gyp_hasher() {
     {
         echo "$CC"
         echo "$CXX"