glretrace: Fix Cocoa build w/o __thread keyword.