ESAPI function to invoke the TPM2_PCR_Allocate command either as a one-call or in an asynchronous manner.