mesa: add no error version of framebuffer_texture_with_dims()