Merge "liblog: pmsg_read add validity checking for prio"