drm: Fix the number of connector and encoder to cleanup functions