This implements the fix presented in "Ray Tracing Gems".
Diffuse surfaces with bump or normal maps now get some extra
shading near the terminator to smoothen it.
I think this method works very well. This can be made to work for diffuse transmission as well I expect (may need to flip some normals). SSS likely works already with this patch.
For specular not sure, maybe only with higher roughness.