watchdog: Refactor timeRemaining

This function also depends only on the state of the timer.
This patch introduces no functional changes but will make
future changes shorter.

Change-Id: Id9b5825faf6c4795ca5b862f140afe06ca51e1cf
Signed-off-by: William A. Kennington III <wak@google.com>
1 file changed