drm/i915: Extract general object init routine

Obtained-from: Linux 3.8.13