meson: remove deprecated get_pkgconfig_variable

Since meson 0.56, the `get_pkgconfig_variable` has been deprecated.  In
meson 0.58 the `get_variable` was enhanced to no longer require the
`pkgconfig` keyword argument.  Ensure meson 0.58 is required and update
the usage of all `get_pkgconfig_variable` and `get_variable` to be the
modern variant.

Change-Id: Ibc0692c5cd05546e797c20973e1c1f172dcb8379
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/subprojects/dhcp-done/meson.build b/subprojects/dhcp-done/meson.build
index 8f0272f..2ee0826 100644
--- a/subprojects/dhcp-done/meson.build
+++ b/subprojects/dhcp-done/meson.build
@@ -16,7 +16,7 @@
   'dhcp-done',
   'cpp',
   version: '0.1',
-  meson_version: '>=0.57.0',
+  meson_version: '>=0.58.0',
   default_options: [
     'warning_level=3',
     'werror=true',
@@ -40,7 +40,7 @@
   install_dir: libexecdir)
 
 systemd = dependency('systemd')
-systemunitdir = systemd.get_pkgconfig_variable('systemdsystemunitdir')
+systemunitdir = systemd.get_variable('systemdsystemunitdir')
 
 configure_file(
   configuration: {'BIN': libexecdir / 'dhcp-done'},