mesa: Fix substitution of large shaders