glretrace: Use OS_THREAD_SPECIFIC_PTR on glws_cocoa.mm