We should rename / combine the 2 functions called qt6_enable_object_libraries_finalizer_mode and qt_enable_import_plugins_finalizer_mode into a single function that takes a list of 'contexts' where finalizer mode should be enabled / disabled.
Before we do that, we should wait a bit until CMake 3.21.0 is released, because that means we can at least get rid of qt6_enable_object_libraries_finalizer_mode. In this case, we still want a more generic 'contexts' taking function.
Note if 3.21.0 is released soon enough, this will depend on
QTBUG-95018 being done first.