Port createForsythOptimizedMesh from Irrlicht 1.8

Mesh rotation helpers.
Merge remote-tracking branch 'minetest/master'
Merge remote-tracking branch 'upstream/master' into next