dissector: make pkttypes const

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
dissector: remove redundant code, clean up a bit

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>