Fixing a bug introduced due to refactoring var names

SELinux messages weren't properly filtering into the events buffer
because message_len was being used to determine length of event data
instead of str_len

Bug: 65597269
Test: SELinux denials show up in the events buffer
Change-Id: I857e10211f71dd0db33a272241c7051c5d0c59ca
(cherry picked from commit f20a5f34bd04ca20526bedc7b25dbd5398859b9b)
1 file changed
tree: 102ca23b191b476918d207e1ef90944a2ffc3346
  1. liblog/
  2. logcat/
  3. logd/
  4. logwrapper/