nir: allow redirection of shaders printed by NIR_PRINT
The game I want to use NIR_PRINT with redirects stdout (but does this in so awesome way that it hangs when it sees too much data).
Unfortunately, apitrace makes the game crash, so I can't take the trace and NIR_PRINT it on replay.