vkd3d-shader/hlsl: Fix temp allocation for ps 1.x. Iterate over the extern vars, not the parameters. The synthesized inputs and output don't go in the function parameters. Fixes: 8b57a612d77df98c69a97f31c5a844d06345482a
vkd3d-shader/hlsl: Fix writing the sincos extra constants. Fixes: 4ed16108f029c5d1ddfa92f87394defb6ddb193c