Fix macOS build requiring Objective-C++17 compilation

static_assert() without a message is a C++17 feature, and
MetalSurface.mm includes C++ headers which use this. Chromium still
defaults to C++14, so we need to explicitly specify that we want to use
the C++17 standard for Objective-C compilation.

Bug: GN build fix for macOS
Change-Id: Ib88e2d42ec07845029b91f67a78b07cc781b06da
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/57729
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Tested-by: Nicolas Capens <nicolascapens@google.com>
diff --git a/BUILD.gn b/BUILD.gn
index 53b1d82..3bf24fe 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -51,6 +51,7 @@
     cflags_cc = [ "/std:c++17" ]
   } else {
     cflags_cc = [ "-std=c++17" ]
+    cflags_objcc = [ "-std=c++17" ]
 
     if (!is_debug) {
       cflags += [ "-Os" ]