Fix shader compilation with cg_shadows > 1.