Fix warnings in dissectors directory

This PR is again in the sake of fixing warnings. this time all source files in src/dissectors/.
However, some other files need also be changed as the cause for the warnings isn't always direct.