[PATCH 23/40] x86: Move TPM2 table to a writer function