Fix false positives when using a typedef in combination with a generic
We should not use the underlying CXX record, because that will resolve the typedef
We usually don't do this in our code, but QVector is one example where it has happened (in qt6)