Make lights use minetest's 6d facedir prediction code

via a small wrapper routine that also checks for protection and infinite stacks

Requires Minetest from git, commit 1d856b73 or newer.