radeonsi: Use uniform location when calculating const_file_max.

When there are NIR uniform variables whose location is
explicitly set, radeonsi did not take that into account
when calculating const_file_max, resulting in rendering
glitches. This patch fixes that.

Signed-Off-By: Timur Kristóf <timur.kristof@gmail.com>
Tested-by: Andre Heider <a.heider@gmail.com>
24 jobs for radeonsi-uniform-loc in 102 minutes and 7 seconds (queued for 142 minutes and 11 seconds)
Status Job ID Name Coverage
  Build+Test
passed #126034
build:make-gallium-drivers-other

00:15:17

passed #126033
build:make-gallium-drivers-radeonsi

00:13:05

passed #126032
build:make-gallium-drivers-swr

00:21:59

passed #126035
build:make-gallium-st-clover-llvm-39

00:06:40

passed #126036
build:make-gallium-st-clover-llvm-4

00:07:06

passed #126037
build:make-gallium-st-clover-llvm-5

00:10:08

passed #126038
build:make-gallium-st-clover-llvm-6

00:07:11

passed #126039
build:make-gallium-st-clover-llvm-7

00:08:46

passed #126040
build:make-gallium-st-other

00:08:05

passed #126031
build:make-loader-classic-dri

00:10:03

passed #126030
build:make-vulkan

00:05:45

passed #126026
build:meson-gallium-clover-llvm5

00:03:32

passed #126027
build:meson-gallium-clover-llvm6

00:06:14

passed #126028
build:meson-gallium-clover-llvm7

00:03:51

passed #126025
build:meson-gallium-drivers-other

00:04:58

passed #126024
build:meson-gallium-radeonsi

00:03:59

passed #126029
build:meson-gallium-st-other

00:04:10

passed #126023
build:meson-gallium-swr

00:07:17

passed #126022
build:meson-glvnd

00:04:13

passed #126021
build:meson-loader-classic-dri

00:03:46

passed #126020
build:meson-vulkan

00:02:36

passed #126042
build:scons-llvm

00:04:01

passed #126041
build:scons-nollvm

00:03:38

passed #126043
build:scons-swr

00:05:46