aco/isel: Compile all helper functions with static linkage

Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6504>
diff --git a/src/amd/compiler/aco_instruction_selection.cpp b/src/amd/compiler/aco_instruction_selection.cpp
index eeb2035..9c17733 100644
--- a/src/amd/compiler/aco_instruction_selection.cpp
+++ b/src/amd/compiler/aco_instruction_selection.cpp
@@ -10450,8 +10450,6 @@
    return instr;
 }
 
-} /* end namespace */
-
 void fix_ls_vgpr_init_bug(isel_context *ctx, Pseudo_instruction *startpgm)
 {
    assert(ctx->shader->info.stage == MESA_SHADER_VERTEX);
@@ -10833,6 +10831,8 @@
    }
 }
 
+} /* end namespace */
+
 void select_program(Program *program,
                     unsigned shader_count,
                     struct nir_shader *const *shaders,