Fix buggy THaVar::GetTypeName and THaVar::GetTypeSize