convert LOCI list iteration to of_object_t

Reviewer: trivial

The inheritance unions used previously are going away.