ctest: Restore cleanup of load_command plugins Restore `cmDynamicLoader` cleanup removed by commit c7d11a77e4 (ctest: Remove outdated optimization of tests running ctest itself, 2024-10-16).