Fix segfault on drmGetDevices failure
When no DRM devices are detected, drm_info fails with:
drmGetDevices: No such file or directory
And then segfaults. This happens because the drm_info() function returns a NULL pointer on failure but main() doesn't handle it.