backend/drm: handle errors when fetching DRM name/version
These functions can fail if the FD is not a DRM device or on memory allocation failure, for instance.
These functions can fail if the FD is not a DRM device or on memory allocation failure, for instance.