journal: fix an off-by-one error in dev_kmsg_record
(cherry picked from commit 080d112caa0dc948555a69a008c1caf4d5d41ed6)
Resolves: #1764560
patch_name: 0255-journal-fix-an-off-by-one-error-in-dev_kmsg_record.patch
present_in_specfile: true
location_in_specfile: 255
squash_commits: true