generate less shaders when r_sunlightMode is disabled

* don't generate shaders for LIGHTDEF_USE_SHADOWMAP when r_sunlightMode is disabled (16 less iirc)
 * wrap usage of standard derivatives functions in conditional so they can compile when unsupported and disabled