ac: move build_varying_gather_values() to ac_llvm_build.h and expose