[PATCH] drm/core: make ida allocation and de-allocation consistent