Bug 973450 - [settings] refactor Device information panel with AMD patte...

...rn
Add one more case, if `mozPower` is not defined, we should not call `mozPower.factoryReset` and the `resetDialog` should be hidden after that.