add minetest.is_protected support to buckets

Check for protection when using buckets