Merge changes I42162365,Ia72f1305,I57d1f86c,I026d074e

* changes:
  logd: klogd deal with nuls in dmesg
  logd: log_strtok_r deal with nuls
  liblog: logprint: printable nul
  logd: klogd: sniff for time correction on Mediatek