Fix incorrect variable setters being generated when the type of the variable is not assignable, due to variable type inheriting a private assignment operator further up the inheritance chain (further up than the immediate base).