get the type of a type declaration
A type declaration T may appear in thre forms:
typeof(T)as abstract declarator in a function prototype, as in
f(int)in a declaration without declarators, as in
struct x { int a } ;
Currently, analyseTypeDecl is exlusively used for analysing types for GNU's typeof(T).
We move attributes to the type, as they have no meaning for the abstract declarator