meson: Set default buildtype to debugoptimized

In general, turning on optimization tends to find more code issues
and is closer to how Yocto builds the code.  Set 'debugoptimized'
as the default buildtype.

debugoptimized will compile slightly slower, but developers won't
encounter issues where it works on their system but doesn't work on
CI as often.

Done in sdbusplus here:
https://github.com/openbmc/sdbusplus/commit/feb4847245830ad41878851987b59ba837434e3a

Put default_options in alphabetical order for easier scanning.

Tested: Built the code in an sdk.
Change-Id: I790f32a0ceb1c1cc2464bbb2ad818007b4ed1944
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/meson.build b/meson.build
index 918e58b..62b9aeb 100644
--- a/meson.build
+++ b/meson.build
@@ -1,8 +1,9 @@
 project('phosphor-bmc-code-mgmt', 'cpp',
     default_options: [
+        'buildtype=debugoptimized',
+        'cpp_std=c++17',
         'warning_level=3',
-        'werror=true',
-        'cpp_std=c++17'
+        'werror=true'
     ],
     license: 'Apache-2.0',
     version: '1.0')