tests: split out Cursor subclass tests

This re-groups the Cursor subclass tests (EnumDecl, EnumConstantDecl
and TypedefDecl) according to the clang/libclang version that
supports them.