Support dialects in mavgraph.py

Needed for my custom messageset to be supported by mavgraph. ardupilotmega is the default as that's what mavlogdump.py uses.