drm/ttm: move ghost object creation to a common function