dissector: Mark unused parameters with __maybe_unused

In order to avoid compiler warnings when compiling with
-W/-Wunused-parameter, mark unused function parameters with
__maybe_unused.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>