Cleanup: Remove unused function in Translucent BSDF.
Cleanup: Style fixes for closures, mainly bitflags and conditions.
Revert "Fix T42222"

This reverts commit 507712db3fd7aa7bb903f6860f5a4eb29aa2be02.

Error was quite an old compiler, which had further warnings/errors.

Old compilers can just have this defined in BLI_math
wire color tint feature