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