[sre] Implement DynamicMethod.GetCustomAttributes() and IsDefined ()