We need to pass the underlying type (rather than the type) of a data member to TClass::GetClass

(cherry picked from master commit 86ebf009ab3c5bfbdb5f98debda6b333bc491b23)