Replace deprecated get_pkgconfig_variable with get_variable

- Meson 0.57 warns that get_pkgconfig_variable is deprecated and
  we should be using get_variable instead.

Tested By:

Setup docker, and made sure the service files are installed in the
desired directory.

Installing /home/juliet/Documents/Work/docker/ci_test_area/pldm/build/pldmd.service to /lib/systemd/system
Installing /home/juliet/Documents/Work/docker/ci_test_area/pldm/build/pldm_verbosity to /etc/default
Installing /home/juliet/Documents/Work/docker/ci_test_area/pldm/build/softoff/pldmSoftPowerOff.service to /lib/systemd/system

Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I2da6f5fecc37e91eb927b2ebae9bd59de59d1b08
diff --git a/meson.build b/meson.build
index db22dc0..fdef145 100644
--- a/meson.build
+++ b/meson.build
@@ -133,9 +133,9 @@
   install: true,
   install_dir: get_option('bindir'))
 
-systemd_system_unit_dir = systemd.get_pkgconfig_variable(
-    'systemdsystemunitdir',
-    define_variable: ['prefix', get_option('prefix')])
+systemd_system_unit_dir = systemd.get_variable(
+        pkgconfig: 'systemdsystemunitdir',
+        pkgconfig_define: ['prefix', get_option('prefix')])
 
 configure_file(
   copy: true,