modeprint: use libutil to lookup strings

Use libutil to lookup connector type names and state. This also
makes sure that the latest connector type addition "DPI" gets
printed correctly.

Signed-off-by: Stefan Agner <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
3 files changed