Add a command line option `-d DEVICE` to select a device either by index or by substring of the name. Use `-d list` to print available devices. Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34267>