system: Avoid uninitialized memory usage am: 31914dbf37 am: 7e9ec3985c

Original change: https://android-review.googlesource.com/c/platform/system/dmesgd/+/1981727

Change-Id: I968a308448faf725a2951a0a563893665dd025c7