hal_health: allow to write kernel logs.

This is originally allowed in healthd but the permission
was not transfered to health HAL. A typical health HAL
implementation is likely to write battery info to kernel
logs.

Test: device has battery kernel logs with health HAL
      but without healthd

Bug: 77661605

Change-Id: Ib3b5d3fe6bdb3df2a240c85f9d27b863153805d2
diff --git a/public/hal_health.te b/public/hal_health.te
index 068f23b..c0a0f80 100644
--- a/public/hal_health.te
+++ b/public/hal_health.te
@@ -25,3 +25,6 @@
 
 # Allow to wake up to send periodic events
 wakelock_use(hal_health_server)
+
+# Write to /dev/kmsg
+allow hal_health_server kmsg_device:chr_file w_file_perms;