Use a typedef for NSFastEnumerationState

This fixes building as a module.