std::variant: Apply missing fixup

This code is not compiled during the unit test run. The issue was
noticed trying to integrate into a real openbmc build.

Change-Id: I30b7afaf722b1a14e5ac3d5e93e13b59db48be7a
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/control/functor.hpp b/control/functor.hpp
index e86bae7..b96f650 100644
--- a/control/functor.hpp
+++ b/control/functor.hpp
@@ -99,7 +99,8 @@
                 return;
             }
 
-            _handler(zone, std::forward<T>(it->second.template get<T>()));
+            _handler(zone, std::forward<T>(
+                         sdbusplus::message::variant_ns::get<T>(it->second)));
         }
         else
         {
@@ -218,7 +219,8 @@
                 return;
             }
 
-            _handler(zone, std::forward<T>(itProp->second.template get<T>()));
+            _handler(zone, std::forward<T>(
+                         sdbusplus::message::variant_ns::get<T>(itProp->second)));
         }
     }