libs: gl: Fix a context leak when display_create_context failed
Cause our program leak thread(created by glcontext), and crash overnight test. We happened can not create the glcontext correctly in this case.
Cause our program leak thread(created by glcontext), and crash overnight test. We happened can not create the glcontext correctly in this case.