[corlib] Implement MonoGenericClass:GetCustomAttributes () for created types. Fixes #23769.