Fix #120566 case. Moved initial `lod_bias` calculations from `Light` struct to `ShadowDirectional` and `ShadowPunctual` classes to avoid value runaway during subsequent syncs. Changed internal functions to use member variable instead of parameters. Pull Request: https://projects.blender.org/blender/blender/pulls/121541