Fixed an issue where the last N load commands in the mach-o core file would not be read in where N was the number of LC_THREAD load commands.

I now properly increment the ncmds for each LC_THREAD and now core files are saved correctly.

<rdar://problem/18312703>