[PATCH v4 07/16] tpm: Avoid code bloat when not using EFI_TCG2_PROTOCOL