libtimeinstate: fix unused variable warning

Move busy loop variable to static scope in the test and add used
attribute. This silences the unused variable warning when
building.

Test: manual
Change-Id: I56c7bccfd7a9ee5a2e530b220999c364ec8733c0
Signed-off-by: Neill Kapron <nkapron@google.com>
1 file changed