Fix ArrayOfItems::SetItem

As per this comment: http://preshing.com/20130529/a-lock-free-linear-search#comment-104740