mesa: Fix glFramebufferTexture*() for depth and stencil attachments