mesa/main: Check for fbo attachments when importing EGL images to textures
Fixes an assert when binding an fbo with a texture bound to one of its attachments, if the texture was updated with an EGL image after it was bound.
Cc: mesa-stable
Fixes an assert when binding an fbo with a texture bound to one of its attachments, if the texture was updated with an EGL image after it was bound.
Cc: mesa-stable