Fix for NSAutoreleasePool in pthread segfault on GNUSTEP < 1.24