Fix warnings 'implicit-fallthrough' of gcc 7