radeonsi: move non-LLVM code out of si_shader_llvm.c