fix dyn_cast for BuiltinTypeDecls too