prevent bones from deleting protected nodes (except air and liquids)

uses specific checks, due to minetest/minetest#2015
This will crash on unknown nodes.