st/mesa: fix incorrect texture size allocation in st_finalize_texture()