[sw] Provide our own freestanding C headers.

Since these headers implement C11, this change bumps the -std flag
passed to GCC/Clang to c11.

This change also sets up Meson and Make to ignore all system/compiler
headers except for those we provide.

Signed-off-by: Miguel Young de la Sota <mcyoung@google.com>
diff --git a/sw/device/lib/base/meson.build b/sw/device/lib/base/meson.build
index 0beab29..3c74044 100644
--- a/sw/device/lib/base/meson.build
+++ b/sw/device/lib/base/meson.build
@@ -2,6 +2,8 @@
 # Licensed under the Apache License, Version 2.0, see LICENSE for details.
 # SPDX-License-Identifier: Apache-2.0
 
+subdir('freestanding')
+
 # Memory Operations library (sw_lib_mem)
 sw_lib_mem = declare_dependency(
   link_with: static_library(
@@ -9,5 +11,4 @@
     sources: ['memory.c'],
     c_args: ['-fno-builtin'],
   )
-)
-
+)
\ No newline at end of file