vndservicemanager: use selinux_vendor_log_callback

This function only uses vendor APIs even on non-VNDK devices. This
is to support the usecase of vndservicemanager on a legacy device
which has the VNDK disabled.

Bug: 113083310
Test: boot up device and see usage of /system/etc/event-log-tags
    denials go away.

Change-Id: I0fd86cce303bf169f6d5b1b873221302e5b260b1
diff --git a/cmds/servicemanager/service_manager.c b/cmds/servicemanager/service_manager.c
index 6b340a8..d776682 100644
--- a/cmds/servicemanager/service_manager.c
+++ b/cmds/servicemanager/service_manager.c
@@ -403,7 +403,11 @@
 
     cb.func_audit = audit_callback;
     selinux_set_callback(SELINUX_CB_AUDIT, cb);
+#ifdef VENDORSERVICEMANAGER
+    cb.func_log = selinux_vendor_log_callback;
+#else
     cb.func_log = selinux_log_callback;
+#endif
     selinux_set_callback(SELINUX_CB_LOG, cb);
 
 #ifdef VENDORSERVICEMANAGER