[SeaBIOS] [PATCH v3 2/7] tpm: Restructure tpm20_extend to use buffer and take hash as parameter