[PATCH v6 2/8] tpm: Avoid code bloat when not using EFI_TCG2_PROTOCOL