examples/l2fwd: rework long options parsing