Fix detection of monitors connected to secondary GPU.

EnumDisplayDevices is failing so we make detection of device name not
optional.

Fixes #4752