Merge changes I45fbac4a,Ie390459d

* changes:
  bootstat: validate last kmsg and bootreason content more carefully
  bootstat: clang-format rebase