mesa: Implement proper tracking logic for glGetGraphicsResetStatusARB