drm/i915: Fix refcount leak and possible NULL pointerdereference.