Updated to cast thread ID to an appropriately sized integer type before casting it to (unsigned long long) for logging, prevents a GCC error when pthread_t is a pointer of a different (smaller) size than unsigned long long