radv: calculate GFX9 GS and GFX10 NGG states before compiling shader variants