meson: Add global arguments before invoking the compiler

Add arguments early to avoid introduction of targets before the call.
The addition of subproject definitions in later patches introduces such
targets.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I7df34040a67923a97fbca948442df8b338a91e1f
diff --git a/meson.build b/meson.build
index dac2a21..345b84b 100644
--- a/meson.build
+++ b/meson.build
@@ -13,6 +13,8 @@
 
 build_tests = get_option('tests')
 
+add_global_arguments('-Wno-psabi', language : ['c', 'cpp'])
+
 sdbusplus = dependency('sdbusplus')
 phosphor_logging = dependency('phosphor-logging')
 phosphor_dbus_interfaces = dependency('phosphor-dbus-interfaces')
@@ -22,7 +24,6 @@
 
 compiler.has_header('CLI/CLI.hpp')
 compiler.has_header('nlohmann/json.hpp')
-add_global_arguments('-Wno-psabi', language : ['c', 'cpp'])
 
 # Disable FORTIFY_SOURCE when compiling with no optimization
 if(get_option('optimization') == '0')