egl/dri2: fix crash in release_buffer
When a EglSurface gets destroyed the buffers are destroyed and freed. If buffers are afterwards released to the gbm surface this will cause release_surface to access freed memory; to prevent that set the buffers to NULL after calling gbm_bo_destroy.