[0.79] Fixed a bug preventing pit kiln from staying lit

[updated] from #555 to target the new master branch.

Pit kilns were checking for solid blocks two blocks away instead of checking for solid sides one block away.  The result was the pit kiln being unable to stay lit in certain cases.

If you make a pit kiln with a single missing (or non-solid) block exactly two blocks away from the pottery block, the fire will eventually go out and the kiln will fail to reignite due to a logic bug.