nir_to_tgsi, virgl: Add debug flag to enable nir_to_tgsi, fix nir_to-tgsi bugs
More progress on getting nir-to-tgsi to support all of virgl's featureset, and adding a debug flag to virgl so I don't have to carry around all of !8044 (merged) to keep making progress.