build: use allowed over enabled

Meson feature options are typically in a tri-state of enabled, disabled,
or auto.  The enabled and disabled functions on an option (from
`get_option`) no longer return true for auto features.  Instead, the
expectation is to use `allowed()` which is true for both enabled and auto.

Switch all uses of `enabled` to `allowed`.

Change-Id: I37fcb391dcb215a86a60c26f7512f6ccb8312dc4
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/meson.build b/meson.build
index b9b2d87..a128829 100644
--- a/meson.build
+++ b/meson.build
@@ -17,7 +17,7 @@
 
 build_tests = get_option('tests')
 
-if get_option('oe-sdk').enabled()
+if get_option('oe-sdk').allowed()
   # Setup OE SYSROOT
   OECORE_TARGET_SYSROOT = run_command('sh', '-c', 'echo $OECORE_TARGET_SYSROOT').stdout().strip()
   if OECORE_TARGET_SYSROOT == ''
@@ -34,7 +34,7 @@
 
 gmock = dependency('gmock', disabler: true, required: false)
 gtest = dependency('gtest', main: true, disabler: true, required: false)
-if (not gtest.found() or not gmock.found()) and build_tests.enabled()
+if (not gtest.found() or not gmock.found()) and build_tests.allowed()
   gtest_opts = import('cmake').subproject_options()
   gtest_opts.add_cmake_defines({
   'BUILD_SHARED_LIBS': 'ON'
@@ -194,7 +194,7 @@
 if get_option('utils')
     subdir('tools/power-utils')
 endif
-if get_option('tests').enabled()
+if get_option('tests').allowed()
     subdir('test')
 endif
 if get_option('cold-redundancy')