mesa: change error code of *TextureSubImage* for incorreect target