[warnings] replace dune_static_assert by static_assert