Convert LOCI list iteration to of_object_t

Reviewer: trivial

The header classes previously used for list iteration will be removed from LOCI in the future.