anv: Drop has_slm in emit_l3_config for gen11+

For some gen12+ platforms, L3 config (cfg) can be NULL leading to a
seg-fault in emit_l3_config. But, we don't use has_slm for gen11+, so
we can just avoid declaring the variable.

Reworks:
 * Drop has_slm variable for all gens (suggested-by Jason)

Ref: 633dec71 ("anv: Set L3 full way allocation at context init if L3 cfg is NULL")
Ref: !9534
Fixes: 581e68bc ("anv: move L3 config emission to genX_state.c")
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <!9589>
35 jobs for !9589 with no-has_slm-gen11+ in 10 minutes and 25 seconds (queued for 4 minutes and 36 seconds)
latest detached
Status Job ID Name Coverage
  Sanity
passed #8007354
sanity

00:00:48

 
  Container
passed #8007357
aarch64
arm_build

00:00:17

passed #8007358
arm_test-base

00:00:18

passed #8007359
windows shell 1809 mesa
windows_build_vs2019

00:00:11

passed #8007355
x86_build-base

00:00:17

passed #8007356
x86_test-base

00:00:18

 
  Container 2
passed #8007367
android_build

00:00:18

passed #8007370
arm64_test

00:00:16

passed #8007371
armhf_test

00:00:13

passed #8007364
i386_build

00:00:50

passed #8007360
kernel+rootfs_amd64

00:00:10

passed #8007361
aarch64
kernel+rootfs_arm64

00:01:09

passed #8007362
aarch64
kernel+rootfs_armhf

00:00:12

passed #8007365
ppc64el_build

00:01:42

passed #8007366
s390x_build

00:00:16

passed #8007363
x86_build

00:00:18

passed #8007368
x86_test-gl

00:00:14

passed #8007369
x86_test-vk

00:00:20

 
  Meson X86 64
passed #8007377
meson-clang

00:01:43

passed #8007378
meson-clover

00:02:22

passed #8007374
meson-clover-testing

00:01:09

passed #8007375
gstreamer
meson-gallium

00:03:09

passed #8007376
meson-release

00:01:05

passed #8007372
meson-testing

00:01:51

passed #8007373
meson-testing-asan

00:02:02

passed #8007379
meson-vulkan

00:02:59

 
  Build Misc
passed #8007380
meson-android

00:00:37

passed #8007382
aarch64
meson-arm64

00:01:33

passed #8007383
aarch64
meson-arm64-asan

00:03:03

passed #8007384
aarch64
meson-arm64-build-test

00:01:29

passed #8007381
aarch64
meson-armhf

00:01:41

passed #8007385
meson-i386

00:01:28

passed #8007388
meson-mingw32-x86_64

00:03:35

passed #8007387
kvm
meson-ppc64el

00:02:09

passed #8007386
kvm
meson-s390x

00:02:28