radeonsi: Use uniform location when calculating const_file_max.
We noticed this problem while working on NIR support for Gallium Nine.
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 email@example.com