gyp: apply https://codereview.chromium.org/12725005/
Merge pull request #252 from jkp/master

Apply gyp patch that adds support for setting the compiler dialect on OS X