[PATCH 5.10 47/53] tpm: Fix buffer access in tpm2_get_tpm_pt()