Frameworks: fix possible NPE when reboot

this is because of mRebootReason may be null and sometimes mRebootReason is not cleared after a hot reboot