ac/nir: fix unused variable warning in visit_image_atomic

This commit fixes the following warning:
../src/amd/common/ac_nir_to_llvm.c: In function ‘visit_image_atomic’:
../src/amd/common/ac_nir_to_llvm.c:2650:17: warning: unused variable ‘format’ [-Wunused-variable]
 2650 |    const GLenum format = nir_intrinsic_format(instr);
      |                 ^~~~~~

Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
40 jobs for !2161 with random-warning-fixes in 34 minutes and 32 seconds (queued for 6 seconds)
latest detached
Status Job ID Name Coverage
  Containers
passed #695347
debian-10

00:00:19

passed #695348
debian-9

00:00:20

passed #695349
aarch64
test-container:arm64

00:00:21

 
  Build
passed #695352
meson-arm64

00:06:30

passed #695351
meson-armhf

00:04:11

passed #695354
meson-clang

00:08:16

passed #695357
meson-clover

00:05:13

passed #695358
meson-clover-old-llvm

00:02:16

passed #695360
meson-i386

00:04:54

passed #695350
meson-main

00:11:06

passed #695353
meson-swr-glvnd

00:04:48

passed #695359
meson-vulkan

00:02:24

passed #695361
scons

00:09:22

passed #695362
scons-old-llvm

00:08:03

passed #695355
scons-swr

00:04:52

passed #695356
scons-win64

00:03:51

 
  Test
passed #695383
db410c
arm64_a306_gles2 1/4

00:04:15

passed #695384
db410c
arm64_a306_gles2 2/4

00:05:57

passed #695385
db410c
arm64_a306_gles2 3/4

00:04:08

passed #695386
db410c
arm64_a306_gles2 4/4

00:04:25

passed #695372
mesa-cheza
arm64_a630_gles2

00:04:35

passed #695373
mesa-cheza
arm64_a630_gles31 1/4

00:06:38

passed #695374
mesa-cheza
arm64_a630_gles31 2/4

00:08:30

passed #695375
mesa-cheza
arm64_a630_gles31 3/4

00:07:46

passed #695376
mesa-cheza
arm64_a630_gles31 4/4

00:07:23

passed #695377
mesa-cheza
arm64_a630_gles3 1/6

00:04:42

passed #695378
mesa-cheza
arm64_a630_gles3 2/6

00:04:02

passed #695379
mesa-cheza
arm64_a630_gles3 3/6

00:04:12

passed #695380
mesa-cheza
arm64_a630_gles3 4/6

00:04:14

passed #695381
mesa-cheza
arm64_a630_gles3 5/6

00:04:58

passed #695382
mesa-cheza
arm64_a630_gles3 6/6

00:03:57

passed #695363
test-llvmpipe-gles2 1/4

00:02:22

passed #695364
test-llvmpipe-gles2 2/4

00:04:11

passed #695365
test-llvmpipe-gles2 3/4

00:03:36

passed #695366
test-llvmpipe-gles2 4/4

00:03:46

passed #695367
test-softpipe-gles2 1/4

00:01:33

passed #695368
test-softpipe-gles2 2/4

00:01:34

passed #695369
test-softpipe-gles2 3/4

00:01:33

passed #695370
test-softpipe-gles2 4/4

00:01:29

passed #695371
test-softpipe-gles3-limited

00:02:23