Fix ArrayOfItems::SetItem

As per Sebastian Sylvan's comment: http://preshing.com/20130529/a-lock-free-linear-search