[PATCH] drm: Avoid NULL dereference of drm_device.dev