examples/dmabuf-capture: use getopt
examples/dmabuf-capture: use getopt

This makes it a little bit less annoying to provide the right arguments.
All options have reasonable defaults.

ascent12/wlroots,swaywm/wlroots,SirCmpwn/wlroots,ascent12/wlroots,swaywm/wlroots