mavlink stream: do not use getopt as it leads to problems with the global optarg variable
Merge pull request #738 from PX4/beta_mavlink2_stream

mavlink stream: do not use getopt as it leads to problems with the global optarg variable