Fix smooth lighting (ambient occlusion)

Fixes the issue described here: https://github.com/minetest/minetest/issues/1859