drm/scheduler: move entity handling into separate file