wireshark: make enums global instead of local

Reviewer: trivial

These were exceeding the limit of 200 locals with the standard-1.4 input file.

CC https://github.com/floodlight/loxigen/pull/311