nir_to_tgsi: Add support for bindless textures and images.

Tested on nouveau with the piglit tests.
230 jobs for !15932 with ntt-nvc0-fixes in 40 minutes and 49 seconds (queued for 9 seconds)
merge request