main: log the command line
main: log the command line

Write the command line to the log to aid debugging. It needs to be
copied before parsing, because parsing mutates argv.

Signed-off-by: Pekka Paalanen <0f6ae7001e34c37b02fb2c1c2573ddf8f442136a@collabora.co.uk>
Reviewed-by: Quentin Glidic <241385a0e41ea713327e189bce1062decf7c1eb5@sardemff7.net>

sir-murray/weston,sir-murray/weston,krezovic/weston,krezovic/weston