minetest.record protection violation

Description
This function calls functions registered with minetest.register_on_protection_violation.