Port get_gn_arg_value() to native Python code so that it works on Windows.

This allows Goma to work on Win builder.

R=sky@chromium.org

Review URL: https://codereview.chromium.org/698853003