liblog: fix reading pmsg am: 709d569241

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/11899686

Change-Id: Id56a4e389f76f2c9ecb2a9ae2aa2a8771c38936d