tgsi_to_nir: add #ifdef header guards