Bug 404077:  Adjust annotations of expected assertions.
Bug 845712 - Remove unnecessary void* casts because Darwin's pthread_t is a pointer. r=jesup
Bug 845712 - threadPtr->name will be uninitialized if cprCreateThread()'s name parameter is NULL. r=jesup
Bug 404077: Adjust annotations of expected assertions.