legacy shaders support fix

I was just told this breaks http://davidejones.com/blog/1599-switching-colour-alternativa3d/ Apparently a3d compiler behaves differently from AGALMiniAssembler :)