Added static function sf::GlResource::releaseThreadResources(); to call at
the end of a context using thread.