Clean-up usage of deprecated list_themes() and _system_rebuild_theme_data() in favor of theme_handler service