tcg2: fix the failure of calling GetCapability() if Size is specified
tcg2: fix the failure of calling GetCapability() if Size is specified

Signed-off-by: Lans Zhang <e5f62b0189adf41bef2a4f4e0947feed14b85bc6@windriver.com>

jiazhang0/efi-tpm2-utils