loader: use drmGetDeviceNameFromFd2 from libdrm