mesa/texstore: Don't declare StoreTexImageFunc tables static

Doing so forces the compiler to actually emit storage for them in bss.
If we build the table as a local the compiler is allowed to optimize it
down to constants. Trades about 500 bytes of text for -6000 bytes of
bss:

   text	   data	    bss	    dec	    hex	filename
  16496	      0	   6146	  22642	   5872	build/src/mesa/bbe4a73@@mesa_common@sta/main_texstore.c.o
  17026	      0	      0	  17026	   4282	build/src/mesa/bbe4a73@@mesa_common@sta/main_texstore.c.o
73 jobs for !6501 with texstore-diet
latest detached
Status Job ID Name Coverage
  Container+Docs
manual #4315696
aarch64 manual
arm_build
manual #4315697
manual
arm_test-base
passed #4315693
manual
x86_build-base

00:00:21

manual #4315695
manual
x86_build_old
passed #4315694
manual
x86_test-base

00:00:15

 
  Container 2
created #4315707
arm64_test
passed #4315702
i386_build

00:00:15

passed #4315698
kernel+rootfs_amd64

00:00:55

created #4315699
aarch64
kernel+rootfs_arm64
created #4315700
aarch64
kernel+rootfs_armhf
passed #4315703
ppc64el_build

00:00:14

passed #4315704
s390x_build

00:00:15

passed #4315701
x86_build

00:00:15

passed #4315705
x86_test-gl

00:00:09

passed #4315706
x86_test-vk

00:00:10

 
  Meson X86 64
passed #4315711
meson-android

00:01:00

passed #4315712
meson-clang

00:02:52

passed #4315710
meson-classic

00:02:02

passed #4315713
meson-clover

00:02:52

created #4315714
meson-clover-old-llvm
passed #4315709
meson-gallium

00:03:06

passed #4315708
meson-testing

00:03:32

passed #4315715
meson-vulkan

00:02:54

 
  Scons
passed #4315716
scons-win64

00:04:30

 
  Meson Misc
created #4315718
aarch64
meson-arm64
created #4315719
aarch64
meson-arm64-build-test
created #4315717
aarch64
meson-armhf
passed #4315720
meson-i386

00:00:58

passed #4315723
meson-mingw32-x86_64

00:03:05

passed #4315722
kvm
meson-ppc64el

00:02:04

passed #4315721
kvm
meson-s390x

00:02:35

 
  Llvmpipe
passed #4315727
llvmpipe-gles2

00:01:52

passed #4315728
llvmpipe-traces

00:04:02

passed #4315725
piglit-glslparser

00:03:56

passed #4315724
piglit-quick_gl

00:08:34

passed #4315726
piglit-quick_shader

00:08:49

 
  Softpipe
passed #4315733
softpipe-gl

00:04:01

passed #4315729
softpipe-gles2

00:01:24

passed #4315730
softpipe-gles3

00:08:55

passed #4315731
softpipe-gles31 1/2

00:07:49

passed #4315732
softpipe-gles31 2/2

00:04:01

 
  Freedreno
created #4315743
google-freedreno-db410c
arm64_a306_gles2
created #4315744
google-freedreno-db410c
arm64_a306_gles3
created #4315745
google-freedreno-db410c
arm64_a306_gles3_options
created #4315746
google-freedreno-db820c
arm64_a530_gles2
created #4315747
google-freedreno-db820c
arm64_a530_gles3
created #4315748
google-freedreno-db820c
arm64_a530_gles31
created #4315738
google-freedreno-cheza
arm64_a630_bypass
created #4315734
google-freedreno-cheza
arm64_a630_gles2
created #4315736
google-freedreno-cheza
arm64_a630_gles3
created #4315735
google-freedreno-cheza
arm64_a630_gles31
created #4315740
google-freedreno-cheza
arm64_a630_gmem
created #4315737
google-freedreno-cheza
arm64_a630_noubo
created #4315739
google-freedreno-cheza
arm64_a630_traces
created #4315741
google-freedreno-cheza
arm64_a630_vk
created #4315742
google-freedreno-cheza
arm64_a630_vk_sysmem
 
  Panfrost
created #4315749
mesa-ci-aarch64-lava-collabora
panfrost-t720-gles2:arm64
created #4315750
mesa-ci-aarch64-lava-collabora
panfrost-t760-gles2:armhf
created #4315751
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles2:arm64
created #4315752
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 1/2
created #4315753
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 2/2
created #4315754
mesa-ci-aarch64-lava-collabora
panfrost-t860-traces:arm64
 
  Radv
passed #4315755
radv-fossils

00:07:17

 
  Virgl
passed #4315760
virgl-gl30-on-gl

00:00:22

passed #4315761
virgl-gl31-on-gl

00:02:09

passed #4315762
virgl-gl32-on-gl

00:02:09

passed #4315756
virgl-gles2-on-gl

00:04:00

passed #4315758
virgl-gles31-on-gl 1/2

00:04:04

passed #4315759
virgl-gles31-on-gl 2/2

00:02:11

passed #4315757
virgl-gles3-on-gl

00:03:59

passed #4315763
virgl-traces

00:02:29

 
  Radeonsi
passed #4315764
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles2:amd64

00:04:55

passed #4315765
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-traces:amd64

00:07:22