Optimize Darwin module enumeration

We make use of `task_info(TASK_DYLD_INFO)` instead of scanning the memory
ranges for Mach-O headers.