Conditional build issue fix

When BMCWEB_ENABLE_REDFISH_DBUS_LOG_ENTRIES is set to
"ON", bmcweb build is failing. This flag is set to ON
for some OEM and causing build failures. Corrected the
placement of #endif.

Tested:
Set the BMCWEB_ENABLE_REDFISH_DBUS_LOG_ENTRIES compile
flag to "ON" and build is successful.

Change-Id: I88b3b40d0a22600c0f592219f8b7b976e7e6c5f5
Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com>
diff --git a/redfish-core/include/event_service_manager.hpp b/redfish-core/include/event_service_manager.hpp
index 297e141..2c0f189 100644
--- a/redfish-core/include/event_service_manager.hpp
+++ b/redfish-core/include/event_service_manager.hpp
@@ -253,9 +253,9 @@
                     {"Context", customText}};
     return 0;
 }
-#endif
 
 } // namespace event_log
+#endif
 
 class Subscription
 {