[attribute] Fix "length" attribute breaking `attr.reset()`

A "length" attribute is causing `attr.reset()` to fail because `Y.each` finds a `length` property and assumes an array-like object.