llvmpipe: export the tgsi translation code to a common layer