egl/dri2: don't leak the fd on dri2_terminate