meson: simplify systemd dependency

Reduce duplication of the systemd dependency and name the dependency
`systemd_dep` to follow meson conventions.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ibf1b6ead42f51611b2b2ae9eca5421de079c53c8
diff --git a/meson.build b/meson.build
index a93cdd2..565b534 100644
--- a/meson.build
+++ b/meson.build
@@ -60,7 +60,10 @@
 ssl_dep = dependency('openssl')
 
 systemd = dependency('systemd')
-systemd_system_unit_dir = systemd.get_variable('systemd_system_unit_dir')
+systemd_system_unit_dir = systemd.get_variable(
+    'systemd_system_unit_dir',
+    pkgconfig_define: ['prefix', get_option('prefix')],
+)
 
 build_tests = get_option('tests')