Fixed wrong dependent checking for some types causing mangler crash.
Fixed wrong dependent checking for some types causing mangler crash.

Consider the following sample code:

template <typename T>
class MyClass
{
    int i;
};

Even though `i` is not a dependent type itself it needs to be considered as dependent for name mangling purposes.

Fixes a boost parser crasher.

inordertotest/CppSharp,ktopouzi/CppSharp,genuinelucifer/CppSharp,inordertotest/CppSharp,zillemarco/CppSharp,ddobrev/CppSharp,mohtamohit/CppSharp,mohtamohit/CppSharp,zillemarco/CppSharp,mohtamohit/CppSharp,mono/CppSharp,SonyaSa/CppSharp,mono/CppSharp,SonyaSa/CppSharp,ktopouzi/CppSharp,inordertotest/CppSharp,u255436/CppSharp,mono/CppSharp,ktopouzi/CppSharp,ddobrev/CppSharp,zillemarco/CppSharp,zillemarco/CppSharp,ktopouzi/CppSharp,mydogisbox/CppSharp,ddobrev/CppSharp,genuinelucifer/CppSharp,mono/CppSharp,mono/CppSharp,mydogisbox/CppSharp,mono/CppSharp,mohtamohit/CppSharp,mydogisbox/CppSharp,inordertotest/CppSharp,u255436/CppSharp,ddobrev/CppSharp,SonyaSa/CppSharp,inordertotest/CppSharp,mydogisbox/CppSharp,ktopouzi/CppSharp,u255436/CppSharp,zillemarco/CppSharp,mydogisbox/CppSharp,u255436/CppSharp,SonyaSa/CppSharp,u255436/CppSharp,genuinelucifer/CppSharp,genuinelucifer/CppSharp,mohtamohit/CppSharp,SonyaSa/CppSharp,genuinelucifer/CppSharp,ddobrev/CppSharp