Fix an issue where lookups of metaclass descriptors may be ignored when an identically-named attribute also exists on the class itself.