Update misc_helpers.lua

Fix texture orientation when placing nodes using on_place = minetest.rotate_node on walls or ceilings - see  https://forum.minetest.net/viewtopic.php?f=6&t=10523