[SeaBIOS] [PATCH 2/4] tpm: generalize init_timeout()