Merge changes I1cc5d702,I32ab9854

* changes:
  Move reboot() from common.h into otautil/sysutil.h.
  otautil: Rename dir/sys/thermal utils.